code-docs/plugins/blocks/echarts.md
Apache ECharts integration for Lowdefy. Provides rich data visualization capabilities.
ECharts is a powerful charting library supporting:
| Block | Purpose |
|---|---|
EChart | ECharts visualization |
- id: salesChart
type: EChart
properties:
height: 400
option:
title:
text: Monthly Sales
xAxis:
type: category
data:
_request: getMonths
yAxis:
type: value
series:
- type: bar
data:
_request: getSalesData
| Property | Purpose |
|---|---|
height | Chart height (required) |
width | Chart width (default: 100%) |
option | ECharts configuration object |
theme | ECharts theme name |
ECharts supports many chart types via series.type:
line - Line chartbar - Bar chartpie - Pie chartscatter - Scatter plotradar - Radar chartheatmap - Heatmaptreemap - Treemapsunburst - Sunburst chartgraph - Network graphmap - Geographic mapevents:
onClick:
- id: drillDown
type: SetState
params:
selectedCategory:
_event: name
ECharts is large (~800KB minified). Separating it: