Page MenuHomePhabricator

In stacked area charts, group nearby points so they don't overlap

Authored by epriestley on Sep 16 2019, 5:41 PM.



Ref T13279. We currently draw a point on the chart for each datapoint, but this leads to many overlapping circles. Instead, aggregate the raw points into display points ("events") at the end.

Test Plan

Viewed a stacked area chart with many points, saw a more palatable number of drawn dots.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Sep 16 2019, 5:41 PM
Harbormaster returned this revision to the author for changes because remote builds failed.Sep 16 2019, 5:41 PM
Harbormaster failed remote builds in Unknown Object (Buildable)!
epriestley updated this revision to Diff 49627.Sep 16 2019, 6:45 PM
  • Fix library map issue.
epriestley requested review of this revision.Sep 16 2019, 6:47 PM
This revision was not accepted when it landed; it landed in state Needs Review.Sep 17 2019, 4:27 PM
This revision was automatically updated to reflect the committed changes.