mirror of
https://github.com/apache/superset.git
synced 2026-07-19 05:05:39 +00:00
The default ECharts line chart left-joins each time-shifted comparison series onto the current period's rows, so a historical series gets truncated to wherever the main series ends (e.g. today's partial day). The deprecated NVD3 line chart kept comparison series at their full range, which some users relied on for intraday "today vs prior days" overlays. Add an opt-in "Show full range for time shift" control. When enabled, offset series are outer-joined and their x-axis is rebuilt so each comparison line spans its full period while the current-period line stops at its last data point. Default off; existing behavior unchanged. The option is wired only into the regular timeseries query builder, so it is hidden on Mixed charts where it would be a no-op.