Hello,
I created a column chart and I want to associate one color to one value that my search can return. My search can return the number of value "YES" and "NO" that my field can take. This is my search:
source=tcp:5544 STAT_VE=YES OR STAT_VE=NO | chart count by PURCH_DAY,STAT_VE
I wan the number of "NO" appears in blue on my chart and the number of "YES" in green. This my xml file :
<row>
<chart>
<title>Number of Transactions</title>
<option name="charting.axisTitleX.text">Time</option>
<option name="charting.axisTitleY.text">Number of Transactions</option>
<option name="charting.chart">column</option>
<option name="charting.chart.stackMode">stacked</option>
<option name="charting.primaryAxisTitle.text"></option>
<option name="charting.secondaryAxisTitle.text"></option>
<option name="charting.fieldColors">{"No":0x3399CC, "Yes":0x00F66}</option>
</chart>
</row>
I tried this to associate a color but it doesn't work.
<option name="charting.fieldColors">{"No":0x3399CC, "Yes":0x00F66}</option>
Thanks by advance to your answer.
Laura