Hi, i load normaly the chart:
google.load('visualization', '1', {'packages':
['corechart','geomap']});
google.setOnLoadCallback(drawChart);
function drawChart() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Convocatoria');
data.addColumn('number', 'Aspirantes');
data.addRows([ ..data... ]);
// Instantiate and draw our chart, passing in some options.
var chart = new
google.visualization.ColumnChart(document.getElementById('chart_div'));
chart.draw(data, {width: 400, height: 240, is3D: true, title:
'My title'});
}
function redrawPie() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Convocatoria');
data.addColumn('number', 'Aspirantes');
data.addRows([ ..data... ]);
// Instantiate and draw our chart, passing in some options.
var chart = new
google.visualization.ColumnChart(document.getElementById('chart_div'));
chart.draw(data, {width: 400, height: 240, is3D: true, title:
'My title'});
}
//I put a select tag, with jquery.click function binding.... execute
a POST, a return me
<script>redrawPie()</script>
and... nothing happens
Any one has a same problem? or mistake XD
ty
--
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.