Set the "interpolateNulls" option to true.

On Wednesday, January 2, 2013 12:11:13 PM UTC-5, Hicham El-housny wrote:
>
> Hi every one,
> i want to draw tow lignes but ignoring some data table: exemple, take it 
> from google codes:
>
> <script type="text/javascript" src="https://www.google.com/jsapi";></script>
>     <script type="text/javascript">
>       google.load("visualization", "1", {packages:["corechart"]});
>       google.setOnLoadCallback(drawChart);
>       function drawChart() {
>         var data = google.visualization.arrayToDataTable([
>           ['Year', 'Sales', 'Expenses'],
>           ['2004',  1000,      400],
>           ['2005',  XXXX,      460],
>           ['2006',  660,       1120],
>           ['2007',  1030,      540]
>         ]);
>
>         var options = {
>           title: 'Company Performance'
>         };
>
>         var chart = new 
> google.visualization.LineChart(document.getElementById('chart_div'));
>         chart.draw(data, options);
>       }
>     </script>
>
> somme time, i dont have Sales value in 2005, so i want that google chart draw 
> ligne for this category from 2004 to 2006.
>
>
> Thank you.
>
>
>
>

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