Correct chart type key name in first example
I was wondering why the `type` wasn't effective.
This commit is contained in:
parent
e8bbd2129f
commit
572a2673c4
@ -26,11 +26,11 @@ const data = {
|
||||
],
|
||||
datasets: [
|
||||
{
|
||||
name: "Some Data", type: "bar",
|
||||
name: "Some Data", chartType: "bar",
|
||||
values: [25, 40, 30, 35, 8, 52, 17, -4]
|
||||
},
|
||||
{
|
||||
name: "Another Set", type: "line",
|
||||
name: "Another Set", chartType: "line",
|
||||
values: [25, 50, -10, 15, 18, 32, 27, 14]
|
||||
}
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user