Allow Fact app to draw charts

Summary: For any count fact, allow a chart to be drawn. INCREDIBLY POWERFUL DATA ANALYSIS PLATFORM.

Test Plan: Drew a chart of object counts. Drew the Maniphest burn chart.

Reviewers: vrana, btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1562

Differential Revision: https://secure.phabricator.com/D3099
This commit is contained in:
epriestley
2012-07-30 10:44:08 -07:00
parent f0af273165
commit fceabd42e8
11 changed files with 326 additions and 86 deletions

View File

@@ -304,7 +304,7 @@ final class ManiphestReportController extends ManiphestController {
require_celerity_resource('raphael-g');
require_celerity_resource('raphael-g-line');
Javelin::initBehavior('burn-chart', array(
Javelin::initBehavior('line-chart', array(
'hardpoint' => $id,
'x' => array(
$burn_x,
@@ -312,6 +312,7 @@ final class ManiphestReportController extends ManiphestController {
'y' => array(
$burn_y,
),
'xformat' => 'epoch',
));
return array($filter, $chart, $panel);