You must be logged in to post your query.
Home › Forums › Chart Support › indexLabel in two lines
Tagged: grid, indexlabel
Hello,
is it possible to break the words inside indexLabel and to style them separately? I have this case https://prnt.sc/fzt7i9. And for now I have ==>indexLabel: “{y} kn/L”, but I need that in two lines.
And one more question, at the AxisX I have dates and dash line. I have added grid on AxisX, but i get grid under and above the data, but I only need it between AxisX and the data value just like in the above screenshot. Is it possible to achieve that?
@gabrijelita,
As of now it is not possible to have different font style in the same indexLabel.
Also drawing grid lines only between dataPoint and axis is not possible as of now. However, you can take a look at this work-around.
__ Indranil Deo Team CanvasJS
This is great. Thank you.
You must be logged in to reply to this topic. Login/Register