Home forums Using CanvasJS Is it possible to create two "stripLines" on the same chart? Reply To: Is it possible to create two "stripLines" on the same chart?

#24527

@navigatorus,

You can add as many striplines as you want by adding new object with value to stripLines array. Please refer documentation on stripLines for more info / customization options available.

Here is a code snippet that would help you add 3 stripLines over axisY:

stripLines: [{
    value: 3366500,
    label: "Average"
},{
    value: 7289000,
    label: "High"
},{
    value: 1613000,
    label: "Low"
}]


Vishwas R
Team CanvasJS