You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chart builders can specify the reporting time-range of a time-serie chart, and dashboard consumers can also modify that reporting time-range themselves using either dashboard (time) filter or the line chart time-range filter “footer”.
Only Chart builders can specify the granularity of aggregation over time.
We believe it would be beneficial for Dashboard consumers to be able to change the aggregation granularity of the time-serie chart themselves.
Features
Just like for the time range filter (cf. Line chart) that a dashboard consumer can “play with”, we would like to have a time granularity dropdown selector to modify how the metrics are aggregated against time.
Similarly, the “granularity change” event could be propagated to other charts in the dashboard (if “propagate” enabled in chart options),
Chart builder should have the possibility to {en, dis}able this feature (like for showing the range filter),
Chart builder should have the possibility to specify which time granularity to enable (i.e. they might want to not offer for “per-second” or “per-year” aggregation),
Possible time granularity should cover the different orders of magnitude (ms, s, min, h, day, week, month, quarter, year), but also — possibly user-defined — multiples thereof (1 min, 5 min, 15 min, 20 min, 30 min, etc.). This could either be pre-defined by the Chart builder and showed to Dashboard consumer as a fixed list of options they can chose from, or given as “you can have it all” selector where the Dashboard consumer can specify the time unit (ms, s, min, etc.) and the count thereof (1, 2, 5, etc.) they want to aggregate time with.
Alternatives
One already-feasible possibility is to generate multiple charts with all the wished for granularities, and add tabs in the dashboard (one tab for each time granularity). This is however quite inefficient, as changing one graph definition actually leads to modify n charts.
The text was updated successfully, but these errors were encountered:
EBoisseauSierra
changed the title
As a dashboard consumer, I want to be able to modify the granularity of a time-serie chart
As a dashboard consumer, I want to be able to modify the granularity of a time-series chart
May 21, 2021
An alternative currently exists (Superset 1.1.0), when using a FilterBox “chart” in the dashboard, and selecting its “Show {SQL, Druid} granularity dropdown” when setting it up.
Time grain isn't, however, part of the native filter (in Superset 1.1.0) — yet it's on the roadmap (cf. #13591 ).
Using filters is slightly different than the feature requested here (i.e., it's dashboard-specific rather than chart-specific); but (imho) it's likely to be satisfactory for most use cases.
@EBoisseauSierra you are correct - this is available on native filters, and will be available by default on 1.3.0 (will be cut soon after 1.2.0 is released).
Issue
We believe it would be beneficial for Dashboard consumers to be able to change the aggregation granularity of the time-serie chart themselves.
Features
Alternatives
The text was updated successfully, but these errors were encountered: