type: String

Sets the type of Custom Break to be rendered.

Default: “zigzag”
Options: “straight”, “wavy”, “zigzag”
var  chart =  new  CanvasJS.Chart("chartContainer",
{
 .
 .
axisX: {
    scaleBreaks: {
        customBreaks: [{
	    type: "zigzag",
	    .
	    .
        }]
     }
},
 .
 . 
});
chart.render();

Try Editing The Code

  Also See:    


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