Hi, I’d like to know if I can assign a specific color to an exact value in a visualization’s data. How can I do that?, is it possible?
Specific colors for values in a chart
emoya
#2
Actually yes, you can do something like this:
let color = cf.Color();
// setting the color for different attribute values
color.match({
'your_value_1': 'red',
'your_value_2': 'blue',
'your_value_3': '#FFF'
});
yourViz.set("color", color);
With that configuration You assign specific colors to attribute values in your chart.