Home forums Using CanvasJS Change size of values in X-axis Reply To: Change size of values in X-axis

#25813

@driven13,

It seems like you are setting interval to 2 in axisY (horizontal axis incase of bar chart). Auto-calculated interval (not setting any interval) or increasing the interval should work fine in your case.

1.) Change the size of the values of only the X-axis so they are slightly smaller in size physically

You can customize the font-size of label by setting labelFontSize.

2.) Skip every other value so that they look more evenly spaced

Labels will be shown at every interval of the axis. Setting larger interval will increases the space between labels.

If you are still facing the issue, kindly share JSFiddle reproducing the issue you are facing so that we can look into the code, understand the scenario better and help you out.


Vishwas R
Team CanvasJS