The echarts-widget is a WireCloud widget that provides an easy way to to create interactive charts/graphs using the ECharts Library.
There are no settings defined in this widget.
- EChart options: Load new ECharts options JSON.
This endpoint expects to receive an ECharts option JSON
There are no output endpoints defined in this widget.
Send to EChart options endpoint an ECharts option JSON, for example, a simple linear chart:
{
"xAxis": {
"type": "category",
"data": ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]
},
"yAxis": {
"type": "value"
},
"series": [{
"data": [820, 932, 901, 934, 1290, 1330, 1320],
"type": "line"
}]
}
See more ECharts examples in ECharts Examples Site.