@samyukta,
You can use valueFormatString to format labels being displayed in axis (setting it to “MMMM YYYY”).
If you are still facing issue, kindly share JSFiddle along with sample data so that we can look into your code, understand the scenario better and help you out.
—
Vishwas R
Team CanvasJS