Control Which Lines Have Points?
With Chart.js, you can set in the options of the graph to show points or not: pointDot: true, I have a graph with three static lines and one line that shows some fluctuations. I'
Solution 1:
The pointDot
option drives the display
property, so you can do something like
myChart.datasets[0].points[2].display = false;
where myChart is your chart object.
Post a Comment for "Control Which Lines Have Points?"