Try putting nulls where zero and negative values are and 
setting interpolateNulls to true.

You should end up with something looking like this:

var data = google.visualization.arrayToDataTable([
    ['Year', 'Massachusetts', 'National'],
          ['2010',  88,  76],
          ['2011',  null,  82],
          ['2012',  96,  86],
          ['2013',  100,  91],
          ['2014',  null,  94],
          ['2015',  null,  98],
          ['2016',  100,  99],
          ['2017',  124,  100],
          ['2018',  125,  102]]);

  var options = { interpolateNulls: true };

Without setting interpolateNulls to true the graph will draw but you will 
have gaps in the line.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/b669ca5a-da8b-453a-b679-6eed59db001a%40googlegroups.com.

Reply via email to