Home forums Using CanvasJS newline in labels

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #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.

    jsfiddle

    Thank you in advance!

    #25756

    @jeremylee,

    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.