Question:
Is there any possibility to set range colors for the bar charts?
Example
- Less than 0->red color
- greater than 0 ->green color
Solution:
You can set the color as the following properties: plotOptions.series.color and plotOptions.series.negativeColor.
For example:
<hc:chartProperty name="plotOptions.series.color"> <hc:propertyExpression><![CDATA[new java.awt.Color(-16188392)]]></hc:propertyExpression> </hc:chartProperty> <hc:chartProperty name="plotOptions.series.negativeColor"> <hc:propertyExpression><![CDATA[new java.awt.Color(-260826)]]></hc:propertyExpression> </hc:chartProperty>
Recommended Comments
There are no comments to display.