var chart = new CanvasJS.Chart("chartContainer", { . . axisY: { scaleBreaks: { customBreaks: [{ startValue: 100, endValue: 500, color: "orange", type: "zigzag" }, { startValue: 700, endValue: 1000, color: "green", type: "waved" }] }, . . }, . . }); chart.render();
Applies To | Attribute | Type | Default | Options/Examples |
---|---|---|---|---|
customBreaks | startValue | Number | null | 20 |
customBreaks | endValue | Number | null | 30 |
customBreaks | type | String | “straight” | “straight”, “waved”, “zigzag” |
customBreaks | spacing | Number/String | Automatically Calculated | 5,10,20 |
customBreaks | color | String | “white” | “green”,”#23EA23″ |
customBreaks | lineColor | String | “red” | “green”,”#23EA23″ |
customBreaks | lineThickness | Number | 2 | 4 |
Also See:
Server Side Technologies |
Front End Technologies |
Contact |
|
---|---|---|---|
ASP.NET MVC Charts | JavaScript Charts | FAQs | |
PHP Charts | jQuery Charts | Sales Enquiries | |
Spring MVC Charts | React Charts | Support Forum | |
JSP Charts | Angular Charts | Careers | |
JavaScript StockCharts | |||
Privacy Policy © fenopix