Hii Can we use conditional color code for bar grap...
# gooddata-platform
g
Hii Can we use conditional color code for bar graph mean if data more than 100 than 100 than green otherwise red
please reply
j
j
You can use two metrics in bar chart defined using MAQL. One metric would be filtered to return values below threshold (less than 100) the other would return the remaining values above threshold (more than or equal to 100). Then stack the metrics (only one bar will be displayed in each category) You can name the metrics as you want to describe different colors in a legend and chose a color in chart configuration. You can hide the legend if this is used to highlight only one value and meaning is apparent even without legend.