Set the "interpolateNulls" option to true.

On Thursday, July 4, 2013 8:01:23 AM UTC-4, rachael Hand wrote:
>
> Hi,
>
> I think i'm being a pleb...
>
> Is it possible to have a chart that draws a nice line between two points, 
> when a value doesn't exist?
>
> I want to have a combo chart that has some bars and some lines on it.
>
> My data will look a little like this:
> // adapted from the google playground area:
>
> var data = google.visualization.arrayToDataTable([
>     ['Month', 'Bolivia', 'Ecuador', 'Madagascar', 'Papua New Guinea'],
>     ['2004/05',  165,      938,         522,             998],
>     ['2005/06',  135,      null,        599,             1268],
>     ['2006/07',  157,      1167,        null,             807],
>     ['2007/08',  139,      1110,        null,             968],
>     ['2008/09',  136,      691,         629,             1026]
>   ]);
>
>
> Notice the blank values... 
> They're not 0. They're NULL... but... When I put NULL, they're being 
> bypassed, so my chart looks rubbish.
> For example, the first value for Ecuador isn't showing properly, because 
> it's not drawing the line between row 1 and row 3...
>
> I really hope someone can help. There must be a way around this...
>
> Thanks in advance,
> Rachael
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to