Home forums Using CanvasJS Add HTML element in axis label Reply To: Add HTML element in axis label

#19797

Vishwas R
Keymaster

@himanshu_tanwar,

HTML tags are not supported in labels 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.


Vishwas R
Team CanvasJS