software · Q765
Apache ECharts
Apache-licensed JavaScript visualization library with configurable chart types, Canvas/SVG renderers and server-side output.
Overview
Apache ECharts is an open-source JavaScript visualization library for embedding configurable charts into applications. It supports Canvas and SVG rendering and separates reusable datasets from chart configuration. Browser interaction and server-generated output are available through different integration paths, making it useful for dashboards and reports while requiring deliberate choices about rendering, accessibility and bundle size.[1][5][6]
Keeping chart configuration separate from data
The dataset component lets multiple series reuse a source rather than duplicating a separately shaped array for each series. Dimensions and encode settings map fields to axes, tooltips, labels and other visual roles. Default mapping rules are available, but explicit mappings help when the input shape differs from a simple example. This is a useful boundary in generated dashboard code: the visualization library organizes values for display; it does not determine whether an application's data aggregation is meaningful.[5]
Renderer selection is a functional choice
Canvas and SVG are selected when a chart is initialized. The handbook suggests choosing according to the device, number of elements and required effects, and acknowledges that some effects depend on Canvas. SVG and Canvas therefore should not be treated as identical export switches for every configuration. Claims about performance depend on workload and environment; no benchmark was performed for this article.[3]
Selective imports need explicit registration
A full import makes the library's functionality available, while the modular interface allows importing selected chart types, components and features. In that modular path, no renderer is included automatically: CanvasRenderer or SVGRenderer must be registered. TypeScript's ComposeOption can describe the configured subset. This helps explain why an otherwise valid-looking chart generated from a full-import example may fail when moved into an aggressively reduced application bundle.[4]
Server output and lightweight hydration
Server rendering can produce SVG strings or raster images. The SVG path requires explicit dimensions and disables the ordinary browser event machinery. Loading the full client library later restores richer interactions; the lightweight client instead supports a narrower set of interactions and can request new server-rendered SVG for changes such as legend selection. That requires an application protocol and state handling and does not provide every real-time interaction, including normal mouse-following tooltips. A static report and an interactive dashboard should be assessed separately.[6]
Descriptions, decals and version-aware options
The accessibility handbook describes generated or custom descriptions and patterns that distinguish data without relying only on color. It requires explicit AriaComponent inclusion and enablement and notes that a long list of every point can be less useful than a considered description. Some handbook examples use aria.show; the inspected source marks that option deprecated and maps it to aria.enabled. Developers should prefer the installed version's current API rather than reproduce legacy names without checking them.[7][8]
Visual compatibility across versions
The ECharts 6 migration guide calls out a new default theme, changes to component placement and sizing, axis-label layout behavior and rich-text style inheritance. A compatibility theme is offered for restoring prior defaults. Consequently, an unchanged data/configuration object need not produce a pixel-identical chart after a major upgrade. Visual regression checks should reflect intentional changes instead of treating all changed output as either automatically acceptable or automatically a bug.[9]
License and substitution
Apache ECharts uses Apache-2.0. It can substitute for Chart.js where both cover the required embedded chart, with a different configuration model and a choice of rendering paths. Migration means translating the application's series, options and interactions; it does not establish compatibility with existing Chart.js plugins. The useful scope is visualization inside an application, not replacement of its database, analytics semantics or complete accessibility review. No package was installed or rendered for this research.[1][2][4][10]
Capabilities & limitations
Canvas and SVG
supportedRenderer is selected at initialization; some effects remain Canvas-specific.[3]
Embedding configurable interactive data visualizations · Web browsers, Node.js server rendering · Version, build and integration requirements apply
1 source · check evidence
Renderer selection and Canvas-specific effects
vendor · checked 2026-10-07Shared datasets
supportedDataset sources can feed multiple series with explicit dimension-to-visual encoding.[5]
Embedding configurable interactive data visualizations · Web browsers, Node.js server rendering · Version, build and integration requirements apply
1 source · check evidence
Shared sources, dimensions and explicit visual encoding
vendor · checked 2026-10-07Server-rendered interactivity
limitedOne-time SVG/image output is not a complete interactive client; lightweight hydration needs server rerenders for selected changes and does not provide full tooltip behavior.[6]
Embedding configurable interactive data visualizations · Web browsers, Node.js server rendering · Version, build and integration requirements apply
1 source · check evidence
SVG strings, canvas images, hydration and lightweight-runtime limits
vendor · checked 2026-10-07Accessible descriptions
limitedRequires explicit component/option setup and meaningful descriptions; inspected source prefers aria.enabled over the handbook's legacy aria.show examples.[7][8]
Embedding configurable interactive data visualizations · Web browsers, Node.js server rendering · Version, build and integration requirements apply
2 sources · check evidence
Explicit AriaComponent import, descriptions and decals; legacy option examples
vendor · checked 2026-10-07aria.show deprecated in favor of aria.enabled; label-option migration
vendor · checked 2026-10-07Can substitute for
These are products or services this entry can replace. Check the task and limitations for each comparison.
Chart.js for Embedding configurable interactive data visualizations
limitedCan replace overlapping embedded chart displays using ECharts configuration and renderer choices. Existing Chart.js options, plugins and event handling are not drop-in compatible.[1][4][10]
Web browsers, Node.js server rendering · Version, build and integration requirements apply
References
- Apache ECharts homepage
Visualization library, chart types and renderer options
vendor · retrieved 2026-10-07 - Apache ECharts license
Apache License 2.0
vendor · retrieved 2026-10-07 - ECharts Canvas versus SVG
Renderer selection and Canvas-specific effects
vendor · retrieved 2026-10-07 - Importing ECharts
Tree-shaken component/renderer registration and ComposeOption
vendor · retrieved 2026-10-07 - ECharts datasets
Shared sources, dimensions and explicit visual encoding
vendor · retrieved 2026-10-07 - ECharts server-side rendering
SVG strings, canvas images, hydration and lightweight-runtime limits
vendor · retrieved 2026-10-07 - ECharts accessibility handbook
Explicit AriaComponent import, descriptions and decals; legacy option examples
vendor · retrieved 2026-10-07 - ECharts ARIA preprocessor
aria.show deprecated in favor of aria.enabled; label-option migration
vendor · retrieved 2026-10-07 - ECharts 6 upgrade guide
Default theme, layout and label changes
vendor · retrieved 2026-10-07 - Chart.js integration
Chart types, explicit components and JavaScript integration
vendor · retrieved 2026-10-07
Discussion & disputes
Ask about unclear claims or explain a concern with supporting sources. If you have a specific fix, suggest a correction.
No discussion yet.
Revision history
Open a revision to read an earlier version of this article.
| Revision | Timestamp | Edit summary |
|---|---|---|
| 813 | 2026-10-13 10:33:35 | /* wbeditentity-create-item:0| */ sf:aa7119c8-72c9-49bf-97ac-ecaca8b613be:v1 | Add Apache ECharts with renderer-specific effects, explicit tree-shaken imports, limited SSR hydration and deprecated ARIA naming in handbook examples. | attribution: /proposals/aa7119c8-72c9-49bf-97ac-ecaca8b613be |