Skip to content

Exotic chart families (heatmap/sunburst/candlestick/geo/word-cloud/…) — provide via opt-in renderer plugin #1477

Description

@xuyushun441-sys

Background

The ChartType taxonomy was trimmed (framework #1471) to the ~27 families the default Recharts renderer can draw (incl. treemap/sankey added in objectui#1438). 11 families were removed because they need data shapes the platform doesn't model (OHLC → candlestick/stock; per-record distributions → box-plot/violin), geographic data (choropleth/bubble-map/gl-map), or a renderer Recharts lacks (sunburst, heatmap, word-cloud, waterfall).

Why not bundle ECharts in core

Evaluated and rejected: ~1 MB engine for a handful of approximated charts, a second charting engine to maintain, and the showcase's single-value aggregate can't honestly feed candlestick/boxplot/geo/word-cloud anyway.

Proposal

When there's real demand, add an opt-in@object-ui/plugin-charts-echarts package that registers ECharts-backed renderers (heatmap, sunburst, treemap, sankey, candlestick, boxplot, geo via registerMap, word-cloud via echarts-wordcloud) through the ComponentRegistry. Core stays lean; consumers install only if needed. Reintroduce the corresponding ChartType enum members at that point.

Prerequisite

Some types also need a richer data/aggregate model (OHLC, distributions, geo) before they can render meaningfully — track alongside.

Spun out of the ChartType taxonomy trim (framework #1471).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions