Home Forums Feature Requests & Feedback Add labelMinWidth property to axis Reply To: Add labelMinWidth property to axis

#21740

@xio-technologies,

You seem to observe this behaviour as you are changing margin every time the chart changes onGraphChanges. In this scenario as you keep hiding / showing dataSeries by clicking legend, which inturn triggers onGraphChanges, it keeps adding margin to the chart every time. Setting margin only once, to align axisY of multiple charts should work fine in your case.

Please take a look at this updated code.


Vishwas R
Team CanvasJS