Chart (canchart)
Loading
{
"schema": "pixxl.canvas.document",
"version": 1,
"canvas": { "width": 640, "height": 360 },
"pages": [{ "id": "page-1", "name": "Page 1", "x": 0, "y": 0, "width": 640, "height": 360 }],
"resources": {
"dataSources": {
"revenue": {
"id": "revenue",
"type": "inline",
"rows": [{ "month": "Jan", "value": 10 }]
}
}
},
"elements": [
{
"id": "chart-1",
"kind": "chart",
"type": "line",
"chartType": "line",
"pageId": "page-1",
"dataSourceRef": "revenue",
"transform": { "x": 0, "y": 0, "width": 640, "height": 360 }
}
]
}