collapsibleThreshold: String

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%”
Options: “20%”, “40%”, “50%” etc.

Notes
  • collapsibleThreshold will be considered if autoCalculate is set to true.
  • collapsibleThreshold percent value is limited to a minimum of “10%”.


var  chart =  new  CanvasJS.Chart("chartContainer",
{
 .
 .
 axisY: {
	.
	.
	scaleBreaks: {
		autoCalculate: true,  // change to false
		collapsibleThreshold: "40%"
	},
	.
	.
}, 
 .
 . 
});
chart.render();



Try it Yourself by Editing the Code below.



In order to provide better support,we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.