type: String

Sets the type of Scale Break to be rendered.

Default: “zigzag”
Options: “straight”, “wavy”, “zigzag”
var  chart =  new  CanvasJS.Chart("chartContainer",
{
 .
 .
 axisY: {
        scaleBreaks: {
	      type: "zigzag",  // change to  "straight", "wavy"
	      .
	      .
        },
        .
        .
}, 
 .
 . 
});
chart.render();

Try Editing The Code

  Also See:    


If you have any questions, please feel free to ask in our forums.Ask Question