Home forums Using CanvasJS How To Set The IntervalType and Interval Programmatically Reply To: How To Set The IntervalType and Interval Programmatically

#14462

Bivek Singh
Moderator

@oneworld

You can change / set different properties of a chart using set method. In your case, using chart.axisX[0].set("interval", 4); will work.

—-
Bivek Singh