Forum Discussion
Anonymous
8 years agoNot applicable
Conditional coloring using card
I want to color a card conditionally based on a measure which is a percentage. I have 2 percentage values for two sets of population say "High Cost" and "Regular" I want to show the High Cost...
Anonymous
7 years agoNot applicable
Hi Anonymous, this is the link to the OKViz documentation: https://okviz.com/blog/states-in-custom-visuals/
I ran into the same issue and apparently, you need to place Language % HCP on "States Measure" and Language % Regular on "States" again. That will change the States panel under Formatting so you don't need to apply static values.
Also to change the background, you should change "Affect" to "Background" instead of "Data label". Mine is not working as this visual seems a bit fiddly, but if I find out the solution will let you know. Hope this helps.