Skip to Main Content
Preset Feature Feedback
Status Needs review
Categories New feature
Created by Customer Engagement
Created on Sep 4, 2026

Configurable initial Data Zoom window for ECharts charts (chart-level default zoom range)

What is the problem or goal you're trying to solve or accomplish?

The customer has charts using Data Zoom where the X-axis is a categorical dimension (e.g. city) with a long tail of values. The Data Zoom slider always initializes at full width, so on every dashboard load the chart renders with all categories compressed into an unreadable view. Every user must manually drag the slider to a usable window before the chart conveys anything. They want to define, at the chart level, the initial visible portion of the X-axis — for example the top 10 categories — while keeping the slider available so users can widen or pan as needed. The same limitation means scheduled report screenshots and dashboard thumbnails can only ever capture the fully-zoomed-out view.

How are you solving it currently?

Users manually drag the Data Zoom handles on every dashboard load; the adjustment is not persisted anywhere. Alternatives available today all trade something away: capping Row limit to 10 with a descending sort removes access to the long tail; duplicating the chart into "Top 10" and "All" versions costs an extra query and dashboard space; and a rank column plus a Numerical Range native filter defaulting to 1–10 approximates the interaction but requires a virtual dataset with a window function and does not re-rank under other dashboard filters.

What is your recommended solution?

Expose the initial zoom window as chart configuration alongside the existing Data Zoom toggle in Customize. Either a count-based control ("Initially show first N categories") or a start/end percentage pair would work; the count-based form is more intuitive for categorical axes. ECharts' dataZoom component already supports start/end percentages and startValue/endValue, so the underlying capability exists — it is currently fixed at 0–100 by the plugin. This should apply consistently across the chart types that expose the Data Zoom option (Timeseries Bar/Line/Area/Scatter, Mixed Chart, Bar Chart V2), and the configured window should be honored in Explore, dashboards, embedded, and report screenshots.

  • Attach files
  • +1