Home Forums Chart Support Issue with Months Name on Axis in Chart Reply To: Issue with Months Name on Axis in Chart

#28573

@priyanka-kumari,

The labels are shown at every interval based on interval and intervalType. As you are setting the interval to 1 and intervalType to month, label is shown at ‘March 1, 2020’. And the x-value of the dataPoint / column that’s been shown is ‘March 2, 2020’. Alongside as you are hiding the date in axis label and just showing month, it may seem like not aligned. Showing date and month by setting valueFormatString to “DD MMMM” makes it clear that the position of labels is proper. Please take a look at this updated JSFiddle.

—-
Manoj Mohan
Team CanvasJS