HomePhorge

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

Description

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

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.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: yelirekim

Maniphest Tasks: T13279

Differential Revision: https://secure.phabricator.com/D20483

Details

Provenance
epriestleyAuthored on Apr 29 2019, 11:18 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP4180b337cf7e: Add a "{src ...}" Remarkup rule to provide a more flexible way to reference…
Branches
Loading...
Tags
Loading...

Event Timeline