When running the code below (also viewable here: http://jsfiddle.net/6E9Vc/
), I get the error mentioned in the subject.

If I comment out the line that starts with ",series: {0: {type:
'area',c", everything works fine.

So it seems as if there's a problem using isStacked:true with the
series option in a combochart.

Any ideas on what I can do here to work around this?

thanks,





function drawVisualization() {
  // Some raw data (not necessarily accurate)
  var rowData = [['Month', 'Bolivia', 'Ecuador', 'Madagascar', 'Papua
Guinea',
                  'Rwanda', 'Average'],
                 ['2004/05', 165, 938, 522, 998, 450, 614.6],
                 ['2005/06', 135, 1120, 599, 1268, 288, 682],
                 ['2006/07', 157, 1167, 587, 807, 397, 623],
                 ['2007/08', 139, 1110, 615, 968, 215, 609.4],
                 ['2008/09', 136, 691, 629, 1026, 366, 569.6]];

  // Create and populate the data table.
  var data = google.visualization.arrayToDataTable(rowData);

  // Create and draw the visualization.
  var ac = new
google.visualization.ComboChart(document.getElementById('visualization'));
  ac.draw(data, {
     vAxis: {title: "Reads"}
          ,hAxis: {title: "Time",textStyle:{fontSize:9}} //format for
dates doesn't work here
          ,seriesType: "bars", isStacked:true// Stack after tooltip
bug is fixed.
      ,series: {0: {type: 'area',curveType:'function', color:
'#575757',lineWidth: 0,pointSize:1}}
      ,chartArea:{left:60,top:30,width:'90%',height:'80%'}
      ,legend:'top'
  });
}

-- 
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