Home Forums Feature Requests & Feedback Can we create XAxis in different color? Reply To: Can we create XAxis in different color?

#20770

@mhdajmalik,

Is there any alternatives? can I access the X-axis datapoint position from outside chart?

You can get the position of dataPoint by using convertValueToPixel() method.

Can I apply labelFontColor from datapoint instead of axisX

Labels are properties of axis, labelFontColor can only be used inside axis. However you can have indexLabel for every dataPoint and customize it’s color using indexLabelFontColor.

__
Priyanka M S
Team CanvasJS