Null values not displaying in column viz tooltip

71 views
Skip to first unread message

NMU

unread,
Nov 22, 2012, 10:46:22 AM11/22/12
to google-visua...@googlegroups.com
Hello,

I have a column chart being populated with dynamic data. When a value is nullI I add Data not available in the tooltip for that series/point or column. If the chart is converted to a line, the tooltip shows the series colour followed by the "Data not available" label. But when using a column chart, the tooltip omits the series completely. I am using focusTarget:'category' so the other series will show but the null value won't. How can i get the column tooltip to show the null label?

Thanks.

asgallant

unread,
Nov 22, 2012, 6:36:38 PM11/22/12
to google-visua...@googlegroups.com
Hmmm...my inclination is to say that the null displaying in the tooltip for the LineChart is actually a bug.  Null's shouldn't be displayed at all (and many features of the API depend on this being true).  Perhaps the solution is to implement an option to include nulls in tooltips, but make it false by default.

NMU

unread,
Nov 23, 2012, 2:10:08 PM11/23/12
to google-visua...@googlegroups.com
I'd prefer it remains at least as an option b/c if a series has all null values for all values of the line/bar then at least the user hovering over can see that there wasn't an error (if a message like Data not available was put in place). As it is now, it looks like that series was omitted. What can be done here?

asgallant

unread,
Nov 23, 2012, 10:49:43 PM11/23/12
to google-visua...@googlegroups.com
Right now, you can try setting the value to 0 instead of null, and setting the formatted value to "Data not available".  You can also file a feature request here.

NMU

unread,
Nov 27, 2012, 10:35:59 AM11/27/12
to google-visua...@googlegroups.com
Unfortunately 0 isn't an option either as a 0 value and an N/A value are seen as different. I've added a feature request.

NMU

unread,
Dec 19, 2013, 9:39:25 AM12/19/13
to google-visua...@googlegroups.com
Has anyone been able to figure this one out? It's been a year and nothing has changed that I can tell. It also doesn't seem like anything happened to the feature request I added either. http://code.google.com/p/google-visualization-api-issues/issues/detail?id=1091&can=4&sort=id&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Stars
Reply all
Reply to author
Forward
0 new messages