-
Notifications
You must be signed in to change notification settings - Fork 2
warp view pie
xavier edited this page Aug 19, 2020
·
5 revisions
- --warp-view-chart-width : Width
- --warp-view-chart-height : Height
- --warp-view-font-color : Title font color
Name | Type | Default | Description |
---|
Name | Type | Description |
---|
GTS, GTS array or complex data.
Name | Type | Description |
---|---|---|
datasetColor | string |
Color of the trace |
Name | Type | Default | Description |
---|---|---|---|
showLegend | boolean |
true | Shows a legend |
responsive | boolean |
false | Fit the parent space |
width | string |
'' | Fixed width |
height | string |
'' | Fixed height |
options | object |
Serialized JSON representation of display options | |
data | object |
Serialized JSON representation of data to display |
{
"data": [["key", 54], ["key 2", 45]]
}
- data: data to be displayed as tuples.
{
"type": "pie"
}
- type: chart type, possible values are 'pie', 'gauge' and 'doughnut'