Skip to content

Main chart and date range

Time-series chart and session persistence

Main chart

  • What it shows: A time-series chart of your dashboard metrics (e.g. published content, engagement, users) over the selected date range. The chart uses the same unified data as the stats (from the enterprise store).

  • Visuals: The chart can use your theme's gradient and accent (e.g. glow). Exact series (e.g. "current" vs "previous") depend on the API and chart component configuration.

  • Date range: The chart respects the dashboard date range. When you change the range (e.g. in a date picker or preset), the chart and the stats both update from the same data source.

Date range

  • Where it's set: The main chart widget (and the dashboard as a whole) can receive a date range from the page. The page restores it from session storage key fleekdash:dashboard:date-range (from/to as ISO strings).

  • Default: If none is saved, the range is "last 30 days" (from 30 days ago to today).

  • Persistence: The selected range is written back to session storage when it changes, so it persists for the session. Clear Cache resets it to the default 30-day range.

  • Benefit: You can focus on "last 7 days" or "last 90 days" and keep that choice while you work.