-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Icicle Trace #5546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Icicle Trace #5546
Conversation
Bug - No transition on slicetext While playing around with the Icicle chart, I found a bug:
icicle.-.text.no.transition.mov[Notice that the Looking deeper into this, I found that this behaviour is most likely a by-product of the way the transition logic is coded for all of Sunburst, Treemap, and now Icicle: Sunburst: Notice how sunburst_2.movInsights/Resolutions I was exploring the makeUpdateTextInterpolator function but was not able to find anything relevant. Do any of you have insights into what the reason/problem could be? CC
treemap.-.text.appears.mov |
All reactions
Sorry, something went wrong.
Re the transition bug, if it already impacts treemap/sunburst, let's just leave it as-is here and log an issue to cover the existing ones and then loop back around once this PR is merged to tackle it for all three trace types. |
All reactions
Sorry, something went wrong.
That sounds like a solid plan. Will do that. |
All reactions
Sorry, something went wrong.
Instead of adding 4 mocks added 1477ceb, can't we add a simple & single mock to test 4 directions? |
All reactions
-
👍 1 reaction
Sorry, something went wrong.
…cle-trace-base merge from master
Great point, I'll reconfigure this. Thanks for the tip. Here's what the |
All reactions
Sorry, something went wrong.
… into icicle-trace-base pull from remote branch
…ss the trace domain anymore
Okay this should be good to go now. |
All reactions
Sorry, something went wrong.
@Kully now in order for the image test pass please replace The diff is in respect to #5611. |
All reactions
Sorry, something went wrong.
Looks like you already got to it in your commit, thank you 🙂 Is there anything else for us to do now? I can't wait for these ICICLES to hit the main library. |
All reactions
Sorry, something went wrong.
Addressed in c57dda5. |
All reactions
Sorry, something went wrong.
src/traces/icicle/attributes.js
Outdated
editType: 'plot', | ||
description: [ | ||
'Sets the orientation of the icicle.', | ||
'With *v* the icicle grows vertically.', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this isn't really clear to me... "v" means "bottom up" and "h" means "left to right" ? It would be helpful to note here that the other two possibilities (top-down and right-to-left) can be achieved via flip
if that is indeed how to do it.
Sorry, something went wrong.
All reactions
-
❤️ 1 reaction
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In fact I might phrase this as "the root node(s) are on the left" rather than talking about icicles "growing" :)
Sorry, something went wrong.
All reactions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great point, and I agree with this. I'l add that note.
Sorry, something went wrong.
All reactions
src/traces/icicle/attributes.js
Outdated
|
||
flip: treemapAttrs.tiling.flip, | ||
|
||
pad: treemapAttrs.tiling.pad, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the default value for this attribute should be 0, so as to look more like sunbursts and less like treemaps
Sorry, something went wrong.
All reactions
-
👍 1 reaction
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes that's a good idea as well. I remember when playing around with padding, 0 or close-to-0 looked the best to me.
Will change this.
Sorry, something went wrong.
All reactions
Sorry, something went wrong.
nicolaskruchten
mtwichan
archmoj
alexcjohnson
Successfully merging this pull request may close these issues.
Icicle / Flame charts
closes: #5369
Overview of the Pull Request:
This PR is for the purposes of adding an Icicle/Flame charts to the Plotly traces. The high level aim is for the Icicle to achieve parity with the sunburst and treemap traces, and other features
Setting up the PR
git rebase
their local branch off the latestmaster
,git add
thedist/
folder (thedist/
is updated only on version bumps),package-lock.json
file (if any new dependency required),List of Tasks
sunburst
andtreemap
tracesmaxdepth
used (horizontal/vertical)"root: {"color": "red"}
to see the bug (or another color).Icicle.Bug.-.Root.is.Clickable.mov