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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user