Hi,

I have a similar problem as the one you have. It works perfectly fine in 
everything but IE7/8 where I get JS errors Permission Denied

The problem does not happen on the first load of the graph but when I 
refresh it with an ajax call

I am running this function :

function single_bar_chart_js___draw_google_chart(array, target_id, 
graph_type) {
    var target_div = oceanGetElementById(target_id);
    var data = google.visualization.arrayToDataTable(array);
    if (graph_type == "pie") {
        single_bar_chart_js___pie_chart = new 
google.visualization.PieChart(target_div);
        single_bar_chart_js___pie_chart.clearChart(data);
        single_bar_chart_js___pie_chart.draw(data);
        
    } else if (graph_type == "bar") { 
        single_bar_chart_js___chart = new 
google.visualization.ColumnChart(target_div);
        single_bar_chart_js___chart.clearChart(data);
        single_bar_chart_js___chart.draw(data);
    }


the variable 'single_bar_chart_js___pie_chart' is a global variable (I 
tried with local and it gave me the same problem)

Here is an example of the array I can get on first load :
[["Gender","Total"],["F",89.84],["M",88.72]]

And after the AJAX call:
[["Gender","Total"],["F",58.79],["M",82.52 ]]

Any idea?

Thanks,

Simon


-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to