-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug 1431162: Fix errors in crontabber_status.js due to D3/sankey …
…updates. - Fix some inconsistent indenting that was failing eslint. - The `d.x`, `d.y`, and `d.dy` attributes on sankey datums appears to have been replaced with `d.x0`, `d.x1`, `d.y0`, and `d.y1`. So we replace all old attributes with the new ones (dy is computed from y0 and y1). - Pass nodes and links via the sankey constructor. - Replace `sankey.nodeWidth` call with a property computed from the datum's `x0` and `x1` values. - Replace `sankey.update` with `sankey.relayout`. - Replace `sankey.link` with `d3.sankeyLinkHorizontal`. Most of these changes were found in the release notes on the sankey Github: https://github.com/d3/d3-sankey/releases.
- Loading branch information
Michael Kelly
committed
Jan 18, 2018
1 parent
3e93f0e
commit 5afc2c8
Showing
1 changed file
with
37 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters