Incrementally appends data to a series without a full setOption cycle.
Designed for streaming large datasets, pair with manual mode by omitting
the option prop on SolidEChart.
Clears all series and components without disposing the instance.
The instance remains usable, call setOption afterward to render
new content.
Returns whether a pixel point falls inside a coordinate system or component.
Converts a pixel coordinate back to a data coordinate.
Converts a data value coordinate into its corresponding layout coordinate
Converts a data coordinate to a pixel coordinate.
Exports all charts in the same group as a single combined image.
Requires connect, charts must share a group via the group prop.
Exports the chart as a base64 data URL.
Device pixel ratio used by the renderer.
The container HTMLElement the chart was initialised on.
Current rendered height in CSS pixels.
The ECharts internal instance ID. Useful for debugging, logging, and cross-referencing instances, for example, identifying which chart fired an event when multiple charts share a group.
The current merged ECharts option, includes ECharts' internal defaults
and all setOption calls. Not the raw user option.
Reads a computed visual property from a series or data item.
Current rendered width in CSS pixels.
Whether the instance is disposed or unavailable.
Returns true when no instance is available, semantically correct
since a non-existent instance is not currently rendering.
Whether the chart was initialised in server-side rendering (SSR) mode. Use to guard canvas-only operations when SSR is active.
Renders the chart to an HTMLCanvasElement (canvas renderer only).
Renders the chart to an SVG string (SVG renderer only). Useful for SSR and server-side image generation.
Stable proxy for calling ECharts instance methods directly, without null checks, optional chaining, or signal unwrapping.
Remarks
Every method reads the live instance at call time. When the instance is unavailable (pre-mount, mid-reinit, post-dispose), methods return
undefinedand void methods silently no-op. The one exception isisDisposed, it returnstruewhen no instance exists, which is semantically correct.Methods already managed by the library are intentionally excluded:
setOption->createChartEffect/optionprop,setTheme->themeprop,showLoading/hideLoading->loadingprop,resize->autoResize/ ResizeObserver,on/off->onEvents/onSurfaceEvents,dispatchAction->dispatch,dispose-> component lifecycle.See
useChart for how to access this object