collapsibleThreshold controls the threshold for calculation of auto Scale Break. It is measured in percentage of Axis Scale. Auto Breaks would be applied in a range where no dataPoints are present and if the range is more then collapsibleThreshold.
By default, collapsibleThreshold’s value is set to “25%”. This means space between data points which have a difference of at least 25% of the scale will be collapsed with auto calculated breaks.
Default: “25%”var chart = new CanvasJS.Chart("container", { . . axisX: { scaleBreaks: { autoCalculate: true, // change to false collapsibleThreshold: "40%" }, . . }, . . }); chart.render();
Also See: