Skip to content
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

Display counted number of leaves/branches on sunburst/treemap using textinfo, texttemplate, hoverinfo and hovertemplate #4174

Closed
archmoj opened this issue Sep 9, 2019 · 8 comments
Labels
feature something new
Milestone

Comments

@archmoj
Copy link
Contributor

archmoj commented Sep 9, 2019

Codepen

@archmoj archmoj added the bug something broken label Sep 9, 2019
@archmoj archmoj self-assigned this Sep 9, 2019
@archmoj archmoj added this to the v1.50.0 milestone Sep 9, 2019
@etpinard
Copy link
Contributor

etpinard commented Sep 9, 2019

I think the current behaviour makes sense when value isn't set.

@etpinard
Copy link
Contributor

etpinard commented Sep 9, 2019

I'm not sure why anyone would want to show 1 in all the sectors

@archmoj
Copy link
Contributor Author

archmoj commented Sep 9, 2019

I agree the ones (on leaves) may not be that useful; but the totals on branches are.
So, if you think the current behaviour is correct; we may possibly add another flag e.g. count?

@etpinard
Copy link
Contributor

etpinard commented Sep 9, 2019

Adding count would be fine, yes.

@archmoj archmoj added feature something new and removed bug something broken labels Sep 9, 2019
@archmoj archmoj changed the title Missing number of sunburst leaves with textinfo value Display number of leaves on sunburst graph Sep 9, 2019
@archmoj archmoj removed their assignment Sep 9, 2019
@archmoj archmoj removed this from the v1.50.0 milestone Sep 9, 2019
@etpinard etpinard added this to the v1.50.0 milestone Sep 23, 2019
@etpinard
Copy link
Contributor

Will be part of #4185 - so adding this to the 1.50.0 milestone.

@archmoj
Copy link
Contributor Author

archmoj commented Sep 23, 2019

So we should add a new key called count? Or using value key is fine?

@etpinard
Copy link
Contributor

image

isn't it already there?

@archmoj archmoj changed the title Display number of leaves on sunburst graph Display counted number of leaves/branches on sunburst/treemap using textinfo, texttemplate, hoverinfo and hovertemplate Sep 23, 2019
@archmoj
Copy link
Contributor Author

archmoj commented Sep 23, 2019

Just modified the description.

@etpinard etpinard mentioned this issue Sep 25, 2019
2 tasks
@archmoj archmoj closed this as completed Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new
Projects
None yet
Development

No branches or pull requests

2 participants