You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "dosubot[bot] (via GitHub)" <gi...@apache.org> on 2026/05/02 02:58:40 UTC
Re: [D] How to add ECharts timeline functionality to a chart. [superset]
GitHub user dosubot[bot] edited a comment on the discussion: How to add ECharts timeline functionality to a chart.
<!-- Answer -->
Currently, Superset's ECharts chart plugins (like Timeseries, MixedTimeseries, Bar, Pie, etc.) do not implement ECharts' native timeline feature (the `timeline` root config and `options` array for timeline steps). All ECharts charts in Superset generate a single chart configuration, not multiple timeline frames, and there are no UI controls or code structures dedicated to timeline support[^1].
If you want timeline-like interactivity, Timeseries and MixedTimeseries charts are the best starting points because they already handle temporal data and have modular code. However, these charts use the `groupby` field in the query and formData to group data by time or other dimensions, not by splitting the chart into timeline frames[^2][^3]. Filtering is handled either by adding filter parameters to the query or, more commonly, by grouping data using `groupby` and processing the returned queriesData directly in the chart plugin[^4][^5].
To truly add ECharts timeline functionality, you would need to extend the frontend code (especially the `transformProps.ts` and control panel files) to split your data into timeline steps and assemble a config with `timeline` and `options`. This would be a nontrivial change, as the current architecture is built around multi-series and filtering, not timeline frames[^1].
[^1]: [Superset ECharts plugin code review](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/transformProps.ts)
[^2]: [MixedTimeseries transformProps.ts](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/MixedTimeseries/transformProps.ts)
[^3]: [Pie transformProps.ts](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Pie/transformProps.ts)
[^4]: [API query structure](https://github.com/apache/superset/discussions/34750)
[^5]: [Filtering via API](https://github.com/apache/superset/discussions/34668)
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).*
---
Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fsuperset).
[](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fsuperset&message_id=67712817-d695-4e52-be88-90f2c0f9283e) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fsuperset)
GitHub link: https://github.com/apache/superset/discussions/35006#discussioncomment-14304339
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org