Page MenuHomePhabricator

Free alternative to Google Charts for Phabricator burndown charts
Closed, ResolvedPublic


In T153#13719, @Mattflaschen wrote:

Another problem is the google jsapi implementation for the charts. Using a local js library, like Raphael or Flot, loaded with celerity would be better.

Yes, that sounds like a blocker for production from both a licensing (Google Charts does not seem to be open source) and privacy standpoint.

Maybe one of the Analytics team's visualization tools could be helpful here.

Related Objects

Event Timeline

Qgil raised the priority of this task from to High.
Qgil updated the task description. (Show Details)
Qgil changed Security from none to None.
Qgil added subscribers: Qgil, chasemp, mmodell and 12 others.

Probably not a licensing *blocker*; obviously libre is good but it is still an improvement over previous tools. But privacy may be an issue depending on who this is exposed to and what data they'll see.

I'm not entirely sure how the charts api is used here, but would being able to export data help as a workaround if google charts api doesn't work? I'm looking at T152: Install PHPExcel so I can export reports.

Qgil assigned this task to Christopher.

The blocker with the google charts is resolved. See changes here
I decided to use D3 for the chart library and a wrapper called C3. Both are loaded with celerity and configured with javelin.
The implementation is still not complete, but I think that the first result is satisfactory and not that different from the Google Chart.

You can see the first iteration here;

The new js libraries should be put under the phabricator/webroot/rsrc/externals/sprint directory and then "/bin/celerity map" should be run. I guess this should go in a new phabricator branch?

Thank you @Christopher!

I dont see anything upstreamed here.