EECharts Apache ECharts
Examples
Line
Grouped bar
Doughnut
Scatter
Area
Stacked area
Step line
Horizontal bar
Stacked bar
Positive and negative bar
Bar and line with dual axes
Pie
Nightingale rose
Nested rings
Bubble
Ripple scatter
Radar
Gauge
Progress gauge
Funnel
Cartesian heatmap
Calendar heatmap
Candlestick
Boxplot
Graph
Tree
Radial tree
Treemap
Sunburst
Sankey
Parallel coordinates
Theme river
Polar bar
Pictorial bar
Flow lines
Dataset and encode
Properties
enabledboolAllow interaction; false disables the control.
trueheightrealComponent size in pixels; may be bound to its parent layout.
implicitHeightoptionvarFull ECharts option object; must be JSON-serializable and cannot include functions.
({})rendereraliasRenderer used to draw the chart.
"canvas" / "svg"
Alias: bridge.renderervisibleboolWhether the component is visible.
truewidthrealComponent size in pixels; may be bound to its parent layout.
implicitWidtherrorStringaliasRead onlyDescription of the most recent operation failure.
Alias: bridge.errorStringreadyaliasRead onlyWhether the renderer or chart is ready.
Alias: bridge.readysupportedaliasRead onlyWhether the current rendering backend supports the ECharts WebEngine view.
Alias: bridge.supportedSignals
finished()Emitted when the chart finishes rendering.
failed(string message)Emitted when an operation fails; message describes the error.
clicked(var parameters)Emitted when chart data is clicked; parameters contains series, data item, and value information.
dataZoomed(var parameters)Emitted when the chart zoom range changes; parameters contains the zoom event data.
legendSelected(var parameters)Emitted when legend selection changes; parameters contains the current legend selection.
Methods
clear()Clear the current contents or selection.
resize()Resize the chart to its current container.
appendData(data)Append data to the chart.
dispatchAction(action)Run the chart action specified by action, such as highlighting or zooming.
setOption(option, settings)Apply chart option; settings controls merging and update behavior.