-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Showing totals for stacked bar charts #85
Comments
I looked at #34, I wonder will it show total in 'markers+text' for stacked bar? It seems for me, if I specify 'text' for each series in stacked bar, then it will display text near each series, not sure is it possible to display a total number for all series, using 'markers+text'? Thanks! |
I'd also like the ability to show totals in hovertemplates. Perhaps we want a |
this seems like a stack-level rather than trace-level thing. related to #3614 ? |
I had the same need, and maybe it's far to being the best solution, but it works, I used Basically is recalculate all, but at least that happens in a short time lapse. |
This would be a great feature for stacked area charts too! |
Contributes to plotly#85
Contributes to plotly#85
Rename option Refactor code according to comments Contributes to plotly#85
Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson |
I've been trying to show totals on my stacked bar charts. I'd prefer to show them as an integral part of the graph, but I'd settle for hoverinfo if I had to.
This jsfiddle using annotations is the closest I've come: http://jsfiddle.net/u6f0q14n/3/
That works, until I click the legend to hide a given trace:
The annotations (totals) are left hanging in the air, and the graph does not nicely resize to the updated data. As best I can tell, the provided config options do not offer a pre-packaged way to solve this.
The text was updated successfully, but these errors were encountered: