mirror of
https://github.com/chartjs/Chart.js.git
synced 2025-12-08 20:36:08 +00:00
Update showLine location in defaults (#8199)
Current defaults was wrong. Working example: https://jsfiddle.net/Leelenaleee/vL7d6yp0/5/
This commit is contained in:
parent
f16e836c3d
commit
e529775d5e
@ -50,7 +50,7 @@ The following example would set the `showLine` option to 'false' for all line da
|
||||
|
||||
```javascript
|
||||
// Do not show lines for all datasets by default
|
||||
Chart.defaults.datasets.line.showLine = false;
|
||||
Chart.defaults.controllers.line.showLine = false;
|
||||
|
||||
// This chart would show a line only for the third dataset
|
||||
var chart = new Chart(ctx, {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user