Skip to Content
0
Former Member
Dec 05, 2011 at 12:57 PM

Y Axis label color inherits Pen color and not the default Label color.

35 Views

Hi,

How do I enforce my Y Axis Label to taken the default color specified in the iChart Y-Axis Label Color property instead of picking it from the Pen color selected from the legend? I have a Y-Axis Label called "Total Stock", I can very well change the Label text using method

document.TestChart.getChartObject().setYAxisLabel("Label from code");

But when I use a similar

document.TestChart.getChartObject().setYAxisLabelColor(Color);

property, I dont see the color change on the screen. But when I get the color using a getYAxisLabelColor() method , the specified input Color is set. My Label in the Y-Axis, always inherits the Pen color of the selected Legend Item, by default the first Item color on Page Load.

Settings done in the iChart:

Use Selected Pen for label : Unchecked

Y Axis Label Color: #000000

Y Axis Label : Total Stock

Show Y Axis Label: Checked.

I appreciate your help,

Ajitha