using data colors automatically

115 viewscolor custom colors data colors Theme
0

I want that the used colors are from the theme file the defined data colors. Automatically loaded from file, instead of manually with rules for conditional formatting.

So I imagine like I give an array of colors to the custom theme, bacause this visual doesn’t recognize my global data color array. This one is not working. This is not working for xaxis and yaxis, too.


“legend”: [
{
“show”: true,
“vposition”: “top”,
“hposition”: “left”,
“legendFontSize”: 12,
“color”: {
“solid”: {
“color”: [
“#258BF5”,
“#40ECB8”,
“#113F93”,
“#1665CE”
]
}
}
}
],

How to do this?

Asked question