Hello,

I have a problem with the interactive Pie Chart, by using some values,
the graph is not displayed and the error message "Cannot read property
'label' of null" is displayed.

The problem appears when I use the values : 1438 and 2, I have the
same problem with the multiple of this couple of values = 2816 and  4,
5752 and 8 ....

Is ti a bug of the pie chart ? because it's work with other values...

You can reproduce this problem by pasting the code below in the :
http://code.google.com/apis/ajax/playground/?type=visualization#pie_chart

Thanks a lot for your help.

------------------------------------------------
function drawVisualization() {
  // Create and populate the data table.
  var data = new google.visualization.DataTable();
  data.addColumn('string', 'Task');
  data.addColumn('number', 'Hours per Day');
  data.addRows(2);
  data.setValue(0, 0, 'Serie1');
  data.setValue(0, 1, 1438);
  data.setValue(1, 0, 'Serie2');
  data.setValue(1, 1, 2);

  // Create and draw the visualization.
  new
google.visualization.PieChart(document.getElementById('visualization')).
      draw(data, {title:"So, how was your day?"});
}

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