Home forums Using CanvasJS Minimum interval for x axis Reply To: Minimum interval for x axis

#14366

Sanjoy
Moderator

Sorry lindevs as of now we don’t support minimum-interval. But you can achieve it by adding following two lines of code after calling chart.render() method.

    if(chart.axisX[0].get("interval") < 1){
    	chart.axisX[0].set("interval", 1);  
    }