MultiAxis Column Chart changing yAxis title/label colors

0

We have a multiaxiscolumn type chart and need to change the font specification for the yAxis titles and labels. We are able to change this for xAxis without any issues, but it doesn't seem to work for the multi axis charts.

What is being used is:

<hc:chartProperty name="yAxis.title.style.color">
<hc:propertyExpression><![CDATA["#ff0000"]]></hc:propertyExpression>
</hc:chartProperty>
<hc:chartProperty name="yAxis.labels.style.color">
<hc:propertyExpression><![CDATA["#ff0000"]]></hc:propertyExpression>
</hc:chartProperty>
 
But the chart always uses the default (whatever that is set to).
 
Any ideas?

 

kshah_1's picture
Joined: Feb 13 2014 - 1:00pm
Last seen: 5 years 2 months ago

Try this to Change Color for X,Y axis Titles

Property Name    : xAxis.title.style.color   // For X Axis
Property Value    : new java.awt.Color(-12535865) // Cyan color

Property Name   : yAxis.title.style.color      // For Y Axis
Property Value   :   new java.awt.Color(-12535865) // Cyan color     .This Worked for Me.

santosh.audi19 - 4 years 1 week ago

1 Answer:

0

Go to Advanced Properties

Try below Properties to Change Color for X,Y axis Titles

Property Name    : xAxis.title.style.color   // For X Axis
Property Value    : new java.awt.Color(-12535865) // Cyan color

Property Name   : yAxis.title.style.color      // For Y Axis
Property Value   :   new java.awt.Color(-12535865) // Cyan color     .This Worked for Me.

santosh.audi19's picture
Joined: Sep 9 2015 - 9:58am
Last seen: 1 year 2 months ago
Feedback
randomness