[visualization-api] Show tooltips by default

1,262 views
Skip to first unread message

Jan

unread,
Jul 11, 2012, 5:08:49 PM7/11/12
to google-visua...@googlegroups.com
Is it possible to configure column charts so their exact total appears on top of the columns? It's almost like a defaul-on tooltip.

I've looked around but I can't seem to find out where this configuration would be.

Thanks


Message has been deleted

asgallant

unread,
Jul 11, 2012, 5:55:02 PM7/11/12
to google-visua...@googlegroups.com
Are you referring to the Image Charts API or the Visualization API?

If you are working with the Image Charts, this is the wrong place to ask.  If you are working with the Visualization API, then you can't do it.

Jan Julian

unread,
Jul 11, 2012, 6:10:14 PM7/11/12
to google-visua...@googlegroups.com
Visualization api
Sent from my BlackBerry® smartphone

From: asgallant <drew_g...@abtassoc.com>
Date: Wed, 11 Jul 2012 14:55:02 -0700 (PDT)
Subject: Re: [visualization-api] Show tooltips by default
--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/cc-tAQQP3l8J.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.

asgallant

unread,
Jul 11, 2012, 6:58:11 PM7/11/12
to google-visua...@googlegroups.com, jmr.j...@gmail.com
Sorry, but it isn't possible in the API yet, and there is no work-around.  You can make a feature request for it here, if you like.


On Wednesday, July 11, 2012 6:10:14 PM UTC-4, Jan wrote:
Visualization api
Sent from my BlackBerry® smartphone

From: asgallant <drew_g...@abtassoc.com>
Date: Wed, 11 Jul 2012 14:55:02 -0700 (PDT)
Subject: Re: [visualization-api] Show tooltips by default

Are you referring to the Image Charts API or the Visualization API?

If you are working with the Image Charts, this is the wrong place to ask.  If you are working with the Visualization API, then you can't do it.

On Wednesday, July 11, 2012 5:08:49 PM UTC-4, Jan wrote:
Is it possible to configure column charts so their exact total appears on top of the columns? It's almost like a defaul-on tooltip.

I've looked around but I can't seem to find out where this configuration would be.

Thanks


--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/cc-tAQQP3l8J.
To post to this group, send email to google-visualization-api@googlegroups.com.
To unsubscribe from this group, send email to google-visualization-api+unsub...@googlegroups.com.

Jan

unread,
Jul 11, 2012, 7:37:25 PM7/11/12
to google-visua...@googlegroups.com, jmr.j...@gmail.com
Thanks

Jinji

unread,
Jul 12, 2012, 9:16:11 AM7/12/12
to google-visua...@googlegroups.com
There's no way to show the value above the bar, but always show tooltip is possible using the focusTarget: 'category' option.

To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/QPujZGGXoyYJ.

To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.

asgallant

unread,
Jul 12, 2012, 12:59:34 PM7/12/12
to google-visua...@googlegroups.com
focusTarget: 'category' does't make the tooltips show all the time, unless there is some other configuration option that I don't know of that makes it so.
Thanks
To unsubscribe from this group, send email to google-visualization-api+unsubscr...@googlegroups.com.

For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.

Jinji

unread,
Jul 15, 2012, 9:07:20 AM7/15/12
to google-visua...@googlegroups.com
To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/vvxTq7nTAXkJ.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.

asgallant

unread,
Jul 16, 2012, 3:48:20 PM7/16/12
to google-visua...@googlegroups.com
Those aren't visible all the time, you have to mouse over the points to view them.
What am I missing?

Jinji

unread,
Jul 17, 2012, 5:44:25 AM7/17/12
to google-visua...@googlegroups.com
Ah, so if I understood correctly, you meant "show all values of all points all the time", while I thought you meant "show values of all points that belong to the same X value as the mouse cursor, without needing to be accurate also with the mouse Y coordinate". What you meant is indeed not supported.

To view this discussion on the web visit https://groups.google.com/d/msg/google-visualization-api/-/p8r8gmIAqk4J.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.

Jan

unread,
Jul 19, 2012, 3:08:10 AM7/19/12
to google-visua...@googlegroups.com
Hmm... I think I may have been incorrect semantically. In simplest terms, I want to be able to statically display values of data points, values which would normally only display on mouse hover.

I think this would be very effective in line charts and bar charts. In my case, I need to show the total value of each stacked column. Take this as an example: http://jsfiddle.net/YQaXK/34/. Notice the numbers on top of each column. They represent the total value of each column.

Is this possible? 

I'm currently looking into using role: 'annotations', since annotations are static texts on the chart. Could this be a possible workaround?

asgallant

unread,
Jul 19, 2012, 11:42:05 AM7/19/12
to google-visua...@googlegroups.com
I hadn't though of that...using the annotation role might be a way around it.  Try it out and let us know how it works for you.
Reply all
Reply to author
Forward
0 new messages