Skip to content

Conversation

etpinard
Copy link
Contributor

@etpinard etpinard commented Oct 3, 2019

fixes #4232


before (root of roots case): https://codepen.io/MojtabaSamimi/pen/ZEzNbQL (errors out, no graph)
after: https://codepen.io/etpinard/pen/MWWgOad

before (implied root case): https://codepen.io/etpinard/pen/mddbBdy (errors out, no graph)
after: https://codepen.io/etpinard/pen/oNNvobY?editors=1010


cc @archmoj

... with the partialSum to compute the correct partition under
    `branchvalues: 'total'`. Remember, we "generate" sectors
    for "implied root" and "root of roots" scenarios.
@etpinard etpinard added bug something broken status: reviewable labels Oct 3, 2019
@archmoj
Copy link
Contributor

archmoj commented Oct 3, 2019

@etpinard Thanks very much for the PR.
💃

]);
expect(extractPt('value')).toEqual([
[4, 3, 1, 1],
[3, 2, 1, 1]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To note, before this PR that this line was [undefined, 2, 1, 1] leading to SVG rendering errors

]);
expect(extractPt('value')).toEqual([
[4, 3, 1, 1],
[3, 2, 1, 1]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similarly here, this was [undefined, 2, 1, 1]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem with sunburst plot with total values
2 participants