I'm trying to integrate a motion chart into a business intelligence
tool that is used at my company.  The tool allows you to create a new
div inside of an iframe that displays the "report."

I create a div:

<div id='chart_div' style='width: 600px; height: 400px;'></div>

<script type="text/javascript">
google.load('visualization', '1', {'packages':['motionchart',
'table']});
google.setOnLoadCallback(load);

function load(){
var cDOM = document.getElementById('chart_div'');
var chart = new google.visualization.MotionChart(cDOM);
.........
}
</script>

Once it hits "var chart" it spits out an error message:

Firefox 3.6.3:

String contains an invalid character"  code: "5
http://www.google.com/uds/api/visualization/1.0/14fba8f5d9397ffc88037ca3d1185765/default,table,motionchart+en_US.I.js
Line 736

Chrome 5:
Uncaught Error: INVALID_CHARACTER_ERR: DOM Exception 5

Any ideas about what I'm doing wrong ?

Thank you,
Clint

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