If you have a formatter function as follows and would like to change the color of a specific part of the legend, include the span tag.
legend: { labelFormatter: function() { return '' + this.name + ''; }, symbolWidth: 0 }
Resolution
Here is a working example, proper encoding is the key to making it to work.
<hc:chartProperty name="legend.labelFormatter" value="function(){return '<span style="font-style:italic;color:green">' + this.name + '</span>'; }"/>
Ref. Case 00072211
Recommended Comments
There are no comments to display.