Page MenuHomePhabricator

Render charts from storage instead of just one ad-hoc hard-coded chart
ClosedPublic

Authored by epriestley on Apr 30 2019, 3:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 17, 12:24 PM
Unknown Object (File)
Sun, Sep 13, 1:27 PM
Unknown Object (File)
Sat, Sep 12, 6:24 AM
Unknown Object (File)
Aug 24 2026, 2:04 AM
Unknown Object (File)
Jul 13 2026, 2:34 AM
Unknown Object (File)
Jun 27 2026, 6:08 AM
Unknown Object (File)
Jun 24 2026, 3:59 AM
Unknown Object (File)
Jun 22 2026, 10:02 PM
Subscribers

Details

Summary

Ref T13279. This changes the chart controller:

  • if we have no arguments, build a demo chart and redirect to it;
  • otherwise, load the specified chart from storage and render it.

This mostly prepares for "Chart" panels on dashboards.

Test Plan

Visited /fact/chart/, got redirected to a chart from storage.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable