Sets the label of the stripLine. These are shown on top of axis labels.
Default: “” (empty string)var chart = new CanvasJS.Chart("container",
{
.
.
axisX:{
stripLines: [{
.
label:"Label 1",
.
}]
},
.
.
});
chart.render();
Also See: