type: String

Sets the type of Custom Break to be rendered.


Default: “straight”
Options: “straight”, “wavy”, “zigzag”

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


Try it Yourself by Editing the Code below.

  Also See:    



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