Page MenuHomePhabricator

Swap charts from gRaphael to D3
ClosedPublic

Authored by epriestley on Feb 1 2016, 6:03 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Mar 27, 6:19 PM
Unknown Object (File)
Wed, Mar 27, 2:34 PM
Unknown Object (File)
Sun, Mar 10, 9:23 PM
Unknown Object (File)
Thu, Mar 7, 12:13 PM
Unknown Object (File)
Thu, Mar 7, 12:13 PM
Unknown Object (File)
Thu, Mar 7, 12:13 PM
Unknown Object (File)
Feb 20 2024, 2:26 AM
Unknown Object (File)
Feb 3 2024, 8:28 AM

Details

Reviewers
chad
Commits
Restricted Diffusion Commit
rPf5c686d6a4c5: Swap charts from gRaphael to D3
Summary

Mostly, this has just been sitting in my sandbox for a long time. I may also touch some charting stuff with subprojects/milestones, but don't have particular plans to do that.

D3 seems a bit more flexible, and it's easier to push more of the style logic into CSS so you can fix my design atrocities. gRaphael also hasn't been updated in ~3+ years.

Test Plan

Screen Shot 2016-02-01 at 9.55.48 AM.png (1×2 px, 184 KB)

Screen Shot 2016-02-01 at 9.55.54 AM.png (1×2 px, 207 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Swap charts from gRaphael to D3.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Feb 1 2016, 6:05 PM
cburroughs added inline comments.
src/applications/celerity/CelerityResourceTransformer.php
69

Does this really happen to be true of both charting libraries?

src/applications/celerity/CelerityResourceTransformer.php
69

"Yes", in the sense of "they are both already minified so there's no reason to reprocess them". I didn't actually check if d3.min.js really breaks when run through our proprocessors.

This revision was automatically updated to reflect the committed changes.