Home Forums Chart Support indexLabel in two lines

indexLabel in two lines

Viewing 3 posts - 1 through 3 (of 3 total)
  • #15629

    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?

    #15660

    @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

    #15701

    This is great. Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.