Re: Tool-tip only shows one value when multiple series are rendered at the same point.

48 views
Skip to first unread message

Dominic

unread,
Dec 5, 2012, 12:08:04 PM12/5/12
to google-visua...@googlegroups.com
Campbell,

try the
focusTarget: 'category'
option. Sounds like this is what you are looking for.

Dominic

On Wednesday, December 5, 2012 3:42:08 PM UTC+1, Campbell Stephenson wrote:
Hi,

Does anyone know if it is possible to configure the tool-tip to show the values of all the series that are rendered at one point on a chart. At the moment if two series are represented as line or area graphs on the same chart and they are rendered at the same point then only one of the values is shown.

This wouldn't be too much of a problem if the stacking feature was not used as the values would be the same (assuming they were plotted against the same axis) but when using a stacked area graph if there are three series with the values [red:5, blue:0, green:7] then when you mouse over the area representing the red series the tool-tip only shows the blue value...

Any help would be much appreciated,
Campbell

Daniel LaLiberte

unread,
Dec 5, 2012, 12:22:46 PM12/5/12
to google-visua...@googlegroups.com
Showing all the values in a category no matter what series your mouse is over might be an OK workaround, but it is a different thing from somehow showing multiple values only when there are multiple values under the mouse.  

We should be able to detect that there are multiple values to show, and figure out a reasonable way to show all of them, so this is technically feasible though not currently supported.  If you would like to add a suggestion to the issues list, that would allow us to track it: http://code.google.com/p/google-visualization-api-issues/issues/list

dan

--
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/-/TDf2aBzyzjMJ.

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.



--
dlaliberte@Google.com   562D 5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

Campbell Stephenson

unread,
Dec 6, 2012, 7:28:06 AM12/6/12
to google-visua...@googlegroups.com
Thanks for the reply Dan. As suggested I have opened a feature request - if anyone is interested in tracking it the URL is:


Thanks again,
Campbell

Campbell Stephenson

unread,
Dec 6, 2012, 7:30:32 AM12/6/12
to google-visua...@googlegroups.com
Thanks for the suggestion Dominic - I might have a play with that option while waiting to see if Google can work on the feature request...

Campbell

nabramovitz

unread,
Jun 22, 2013, 1:19:35 PM6/22/13
to google-visua...@googlegroups.com

In my case where I have combo chart between bars and lines,  I enabled pointSize for lines that had common values.  I needed to make the size of points large enough so mousing over them would highlight the data values.  I used the google chart samples and played around with it.  Here is that code showing what I did.  I also only tested in the google chrome browser, so I do not know if mousing over will work in FF or IE browsers.

The first line drawn (first line series) needs the largest point size while the last line drawn needs to the smallest point size.

It is not the same as showing all the values at once, but at least there is visual cue and you can see all the values.


ShowingSerieValues.txt

nabramovitz

unread,
Jun 22, 2013, 1:24:31 PM6/22/13
to google-visua...@googlegroups.com
My sample code has a 0 point size where it should be 9.   I uploaded the wrong experiment.  
Reply all
Reply to author
Forward
0 new messages