Update README.md
`datasets` have `name`, not `title`
This commit is contained in:
parent
b420fef05b
commit
690c7e168e
@ -63,11 +63,11 @@ const data = {
|
|||||||
],
|
],
|
||||||
datasets: [
|
datasets: [
|
||||||
{
|
{
|
||||||
title: "Some Data", type: "bar",
|
name: "Some Data", type: "bar",
|
||||||
values: [25, 40, 30, 35, 8, 52, 17, -4]
|
values: [25, 40, 30, 35, 8, 52, 17, -4]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Another Set", type: "line",
|
name: "Another Set", type: "line",
|
||||||
values: [25, 50, -10, 15, 18, 32, 27, 14]
|
values: [25, 50, -10, 15, 18, 32, 27, 14]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user