We're trying to convert our cfcharts to use ZingChart JSON styling, as we'd like to upgrade to CF11 which wrecked all our charts.
I'm currently trying to set up the legend for a bar chart. Previously we were using this xml styling code in the cfchart to include the label and the total for each bar in the legend:
<legend><![CDATA[$(rowlabel) Total:$(colTotal)]]></legend>
In my example, the bars represent years, so an example of a legend item would be "2013 Total:34".
How can I accomplish this using ZingCharts? My legend code so far looks something like this:
"legend":{
"backgroundColor":"#bdc3c7",
"alpha":1,
"borderWidth":0,
"shadow":false,
"borderRadius":10,
"header":{
"text":"Years",
"borderRadius":10
}
}