Home forums Using CanvasJS Incorrect label displayed for quarter of the year Reply To: Incorrect label displayed for quarter of the year

#16153

Ravneet03
Member

Thanks Indranil. But there is a slight problem, my actual code does not contain axis array in the chart variable. It is something like this, chart.options.axisX . Inside the axisX there is stripLines array but I am not able to add in that array with the code you gave.

If I try to do this: chart.options.axisX.stripLines[0] it creates another array inside stripLines array and hence I am not able to access its value using e.value.

Also chart.options.axisX.addTo(“stripLines”,{..}); gives an error “addTo is not a function”.

What can be done? Please suggest. Let me know if more information is required.

Thanks