[Chartjs]-Horizontal 'limit' line in Chart.js

1👍

Yes you can actually do that. You want the horizontal marker line so you need to add this code inside your y-axis

plotLines: [{
            color: '#FF0000',
            width: 2,
            value: .50 * 200 // The marker value will be 100
                             // Or you can just set its value to 100
}]

Leave a comment