Home forums Using CanvasJS newline in labels

This topic contains 1 reply, has 2 voices, and was last updated by  Indranil Deo 4 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #25742

    Hi! Could I ask for help with inserting newline in labels?
    The <br/> seems to work on the tooltip, but they still display as one big line on the axis label.


    Thank you in advance!



    HTML tags are not supported in title, labels and other elements except toolTip, as of now. You can control the max-width of the label by setting labelMaxWidth property.

    Indranil Deo
    Team CanvasJS

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

You must be logged in to reply to this topic.