When MooTools is loaded and a chart includes the explorer:{} option, the
following error is generated:
Object function (){return v; } has no method 'isEnabled'
The document below will reproduce the error. Remove MooTools and the chart
is drawn correctly. Or remove the explorer:{} option and the chart is also
drawn correctly. Both together, you always get the error. Any and all other
options work correctly. The problem only occurs with explorer.
<html>
<head>
<script src="https://www.google.com/jsapi" type="text/javascript"></script>
<script
src="http://ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js"></script>
<script>
google.load('visualization', '1.0', {packages:['corechart']});
google.setOnLoadCallback(create_chart);
function create_chart()
{
data = new google.visualization.DataTable();
data.addColumn('number', 'X');
data.addColumn('number', 'Y');
data.addRows([ [1,2], [2,3] ]);
options = {width:700,height:300,explorer:{}};
chart = new
google.visualization.LineChart(document.getElementById('chart_1'));
chart.draw(data, options);
}
</script>
</head>
<body>
<div id="chart_1"></div>
</body>
</html>
--
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/d/optout.