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

Forced-categorical x-axis option for Time-series Line Charts (with consistent support across time-series charts).

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

Users plotting pre-aggregated weekly (or other fixed-grain) data want both (a) x-axis labels that land exactly on their data points (each Monday) and (b) the built-in Time Comparison / year-over-year feature. Today these conflict: Time Comparison requires a temporal axis, but a temporal axis mislabels weekly ticks (see linked bug); the only way to get correct labels is a string axis, which disables Time Comparison.

How are you solving it currently?

Either casting the axis to string (correct labels, no Time Comparison) or tolerating misaligned labels to keep Time Comparison. Support workaround: build the prior-year value as its own metric via a 364-day self-join and use a text axis — functional but requires data modeling and forgoes the built-in feature.

What is your recommended solution?

A first-class option to render the line-chart x-axis as categorical (one tick per data point / per time-grain bucket) while the column stays temporal — so correct weekly labels and Time Comparison work simultaneously. This aligns with the fix Superset maintainers proposed in discussion #18338; a categorical option existed for the bar chart and reportedly regressed (#30703) — verify. Extending/repairing it for line charts resolves this.

  • Attach files
  • +1