Home forums Using CanvasJS The graph loses the centering – a strange right margin Reply To: The graph loses the centering – a strange right margin

#22554

Priyanka M S
Member

@d3bsky,

the data on the x-axis does not fit because there are a lot of them and overlap. What can I do with this?

When labelAutoFit is set to true, labels get auto adjusted without overlapping or clipping them.

However, if you want all the labels to be displayed without overlapping, you can increase the interval of axisX or rotate the labels by setting labelAngle.

__
Priyanka M S
Team CanvasJS