mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-07 12:49:07 +02:00
commit
eb61f5c3fc
@ -81,7 +81,7 @@ var data = {
|
|||||||
pointHoverBorderWidth: 2,
|
pointHoverBorderWidth: 2,
|
||||||
|
|
||||||
// Tension - bezier curve tension of the line. Set to 0 to draw straight Wlines connecting points
|
// Tension - bezier curve tension of the line. Set to 0 to draw straight Wlines connecting points
|
||||||
tension: 0.1
|
tension: 0.1,
|
||||||
|
|
||||||
// The actual data
|
// The actual data
|
||||||
data: [65, 59, 80, 81, 56, 55, 40],
|
data: [65, 59, 80, 81, 56, 55, 40],
|
||||||
@ -151,4 +151,4 @@ new Chart(ctx, {
|
|||||||
// and the Line chart defaults, but this particular instance will have the x axis not displaying.
|
// and the Line chart defaults, but this particular instance will have the x axis not displaying.
|
||||||
```
|
```
|
||||||
|
|
||||||
We can also change these defaults values for each Line type that is created, this object is available at `Chart.defaults.line`.
|
We can also change these defaults values for each Line type that is created, this object is available at `Chart.defaults.line`.
|
||||||
|
Loading…
Reference in New Issue
Block a user