Fix default data of charts (#803)

Interchanged X and Y values.
This commit is contained in:
Mohini Dahiya 2021-09-22 11:56:51 +05:30 committed by GitHub
parent a41e273f19
commit 9894afb175
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,9 +187,9 @@ export const componentTypes = [
type: { value: `line` },
data: {
value: `[
{ "x": 100, "y": "Jan"},
{ "x": 80, "y": "Feb"},
{ "x": 40, "y": "Mar"}
{ "x": "Jan", "y": 100},
{ "x": "Feb", "y": 80},
{ "x": "Mar", "y": 40}
]`,
},
},