Sets the label of the stripLine. These are shown on top of axis labels.
Default: “” (empty string)var chart = new CanvasJS.Chart("container",
{
.
.
axisY:{
stripLines: [{
.
label:"Label 1",
.
}]
},
.
.
});
chart.render();
Also See:
2 Comments
Hi, is there any opportunity to have the stripLine-label not on top of the y-axis-label?
For example, when I’m changing on the above example the value from 35 to 40, the label “35” is hiding the value 40. I want to display both of them.
Is this somehow possible? Like having the stripLine-label left of the axis-label?
Thanks.
Sorry, this feature is not available yet but we are considering the same for future versions.