Skip to content

Commit 9c83941

Browse files
docs: fix options props for line chart example (#744)
1 parent 813eb47 commit 9c83941

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

example/src/charts/Line.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,10 @@ const data = {
1616

1717
const options = {
1818
scales: {
19-
yAxes: [
20-
{
21-
ticks: {
22-
beginAtZero: true,
23-
},
24-
},
25-
],
26-
},
19+
y: {
20+
beginAtZero: true
21+
}
22+
}
2723
};
2824

2925
const LineChart = () => (

0 commit comments

Comments
 (0)