Sets the Dash Type of axis line.
Default: solid
Example: “dot”, “dash”, etc.
Other Supported Dash Types:
- “solid”
- “shortDash”
- “shortDot”
- “shortDashDot”
- “shortDashDotDot”
- “dot”
- “dash”
- “dashDot”
- “longDash”
- “longDashDot”
- “longDashDotDot”
Notes
- When axisY grids are shown, it may overlap axisX line and axisX lineDashType may not be observed.
var chart = new CanvasJS.Chart("container",
{
.
.
axisX:{
lineDashType: "dot"
},
.
.
});
chart.render();