Home Forums Chart Support in Label

in Label

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

    dataPoints: [{ y: 1, label: “NO <br> 100%” }, { y: 0, label: “SI <br> 0%” },

    I need to put a <br>, how do I do it?

    #19773

    @erichfrom,

    It is not possible to add <br> to label as of now instead, you can use labelMaxWidth property of axisX/axisY to wrap the label once the label-width reaches the specified max-width.

    Please take a look at this jsfiddle.

    ___________
    Indranil Deo,
    Team CanvasJS

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

You must be logged in to reply to this topic.