Jump to content
We've recently updated our Privacy Statement, available here ×

MultiAxis Column Chart changing yAxis title/label colors


kshah_1

Recommended Posts

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?

 

Link to comment
Share on other sites

  • 1 year later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...