Display the sum of the stacks on top of the bar.(Out side the bar)

18 views
Skip to first unread message

Srikanth D

unread,
Sep 26, 2016, 9:24:43 AM9/26/16
to Google Visualization API
Hi,

I need to show the sum of the stacks on top of the bar.(Out side the bar). I was able to display the same inside the bar but not on top.

Can you please let me know how to do this using google charts ?

Thanks in advance

Regards,
Srikanth
TopLabel.JPG

Daniel LaLiberte

unread,
Sep 26, 2016, 10:03:11 AM9/26/16
to Google Visualization API
We don't have a way to display the total on the top of the bar/column, but you could add a series with values that are all zero and then add a column of annotations with these total values.  Here is an example:  https://jsfiddle.net/dlaliberte/7s253yzz/1/


--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/d2153c55-179d-4bc4-9efb-ebec6ec449d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages