I got a code working pretty fine until today afternoon. The code is:

function drawChart(link, area, idmedicao) {
        var data_barra = new google.visualization.DataTable();
        data_barra.addColumn('number', 'max');
        data_barra.addColumn('number', 'min');
        data_barra.addColumn('number', 'med');
        data_barra.addColumn('number', 'desvio');
        data_barra.addColumn('number', 'P95');
        data_barra.addColumn('number', 'P99');
        data_barra.addRows(1);
        data_barra.setCell(0, 0, max);
        data_barra.setCell(0, 1, min);
        data_barra.setCell(0, 2, med);
        data_barra.setCell(0, 3, desvio_padrao);
        data_barra.setCell(0, 4, p_95);
        data_barra.setCell(0, 5, p_99);

    var options = {
      width: 400, height: 240,
      title: 'Company Performance',
      hAxis: {title: 'Year', titleTextStyle: {color: 'red'}}
    };

    var chart = new
google.visualization.ColumnChart(document.getElementById('barra'+area
+idmedicao));
    chart.draw(data_barra, options);
  }

Every thing was fine, this code was resulting in a column chart, but
looks like someone updated the source and changed everything without
documentation.

If someone knows where to find documentation about this recent change,
or knows how to make it work now, please help me.

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