@siwatec,
You can pass any custom property within striplines, which can then be accessed programmatically. For instance, you might include a custom property like “data” in your stripline object and this won’t be displayed, but it will be available for use in your code.
stripLines:[
{
value: 1940,
label: "In the 40s",
data: "my stripline"
}
]
The property can later be accessed through the chart options as chart.options.axisX.stripLines[0].data
.
—
Ananya Deka
Team CanvasJS
-
This reply was modified 1 day, 22 hours ago by
Ananya.