Try below configuration, replace X_VALUE
and Y_VALUE
in below config with actual values.
<option name="charting.fieldColors">
{"X_VALUE": 0xFF0000, "Y_VALUE":0x009900}
</option>
Try below configuration, replace X_VALUE
and Y_VALUE
in below config with actual values.
<option name="charting.fieldColors">
{"X_VALUE": 0xFF0000, "Y_VALUE":0x009900}
</option>
i used this like that
<option name="charting.legend.labels">["x","y"]</option>
<option name="charting.seriesColors">[0x169F3E,0xFF0000]</option>
charting.seriesColors
will not work for specific colors to specific values, in this case you need to use charting.fieldColors
Here is documentation for charting.seriesColors
Note: To apply static colors to specific fields use the charting.fieldColors property.
Recently have you upgraded the Splunk ? Are you using charting.fieldColors
in your chart to set color ?
For the piechart I use [0x169F3E,0xFF0000]
How do use it for 2 values in a piechart ?
I have the 7.0.x version of splunk