You can try using the option interpolateNulls, as documented in the
LineChart page:
http://code.google.com/apis/chart/interactive/docs/gallery/linechart.html#Configuration_Options
I think it would give you the desired result.

  Viz Kid

On Wed, Jul 13, 2011 at 9:55 AM, Roni Biran <[email protected]> wrote:

> I don't think you can.
> I had the same problem with gaps between dates. What I did was to generate
> a script for filling these gaps and only than render the graph.
>
>
> On Wed, Jul 13, 2011 at 5:11 AM, est <[email protected]> wrote:
>
>> hi guys,
>>
>> I have some incomplee data that needs to be displayed as a line chart.
>>
>> Take the official example:
>>
>>
>> data.addColumn('string', 'Year');
>> data.addColumn('number', 'Sales');
>> data.addColumn('number', 'Expenses');
>> data.addRows(4);
>> data.setValue(0, 0, '2004');
>> data.setValue(0, 1, 1000);
>> data.setValue(0, 2, 400);
>> data.setValue(1, 0, '2005');
>> data.setValue(1, 1, 1170);
>> data.setValue(1, 2, 460);
>> data.setValue(2, 1, 860);
>> data.setValue(2, 2, 580);
>> data.setValue(3, 0, '2007');
>> data.setValue(3, 1, 1030);
>> data.setValue(3, 2, 540);
>>
>> If somehow I remove this line
>>
>>
>> data.setValue(2, 1, 860);
>>
>> How can I make the chart/graph automatically smooth the gap between
>> lines because sometimes there are just a minor data missing?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Visualization API" group.
>> To post to this group, send email to
>> [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> 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.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> 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.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to