Jake,

It's the null value that breaks up the line.  If you want to the line to
interpolate across the null values, you can add interpolateNulls: true to
your options.

On Sun, Jan 11, 2015 at 4:13 PM, Jake Alley <[email protected]> wrote:

> This should have 2 line graphs.  One has 9 points and the other has 1 point.
> The 9 point graph gets broken up around the 1 point in the other graph.
> Is there any reason why?  Thanks.
>
> <html>  <head>    <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([['date','VZBT','1BT'],[new 
> Date(2010,1,18),20.2,null],[new Date(2010,7,05),53.2,null],[new 
> Date(2011,1,17),39.9,null],[new Date(2011,7,03),55.8,null],[new 
> Date(2012,1,02),56.37,null],[new Date(2012,7,02),46.79,null],[new 
> Date(2013,1,07),1.19,null],[new Date(2013,7,13),null,56.94],[new 
> Date(2014,1,12),57.65,null],[new Date(2014,7,14),60.31,null],        ]);      
>   var options = {          legend: { position: 'right' },          pointSize: 
> 7        };        var chart = new 
> google.visualization.LineChart(document.getElementById('chart_div'));        
> chart.draw(data, options);    }    </script>  </head>  <body>    <div 
> id="chart_div" style="width: 900px; height: 500px;"></div>  </body></html>
>
>  --
> 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/d/optout.
>



-- 
Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2>  -
978-394-1058
[email protected] <[email protected]>   5CC, Cambridge MA
[email protected] <[email protected]> 9 Juniper Ridge
Road, Acton MA

-- 
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/d/optout.

Reply via email to