Home Forums Chart Support Line graph with a cut line

Line graph with a cut line

Viewing 2 posts - 1 through 2 (of 2 total)
  • #38091

    Im not sure what its called but I have a line graph with data points and I want a horizontal line across the graph at 250. There are values above and below 250 but I want to easily see where the cut off is.

    Is this a feature and if so what is the variable I need to set?

    #38098

    @swebs,

    Y-axis Striplines can be used to show a horizontal line at any desired value. You can set value property to 250 in your case. Please find the code-snippet below.

    axisY: {
        stripLines: [{
            value: 250
        }]
    }

    Y Axis Stripline


    Vishwas R
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.