Sets the Line Dash Type for all Line and Area Charts.
Default: solidOther Supported Dash Types:
var chart = new CanvasJS.Chart("container",
{
.
.
data:[{
type: "line",
lineDashType: "dot",
}]
});
chart.render();
Also See:
4 Comments
Can you confirm if lineDashType is supposed to work in IE10? I can get it to work in IE11 but not 10.
Brian,
Canvas element in IE10 does not support this feature. But we are trying to find a workaround.
As I tested each of these to see what they looked like, i noticed that “shotDash” should probably be “shortDash”
Yes, Thanks for reporting. It was a typo. I have updated the same.