Firefox: Error enumerating properties on scriptable plugin object No Graph rendered.

668 views
Skip to first unread message

BarryCarlyon

unread,
May 22, 2011, 5:32:27 PM5/22/11
to Google Visualization API
So I am calling in the jsapi and just the graph functions.

It chooses to load in SWFobject as well.

So when I go to render a graph I get a nice space the right dimensions
but no graph.
Same code works fine in safari and google chrome.

The error in firebug is:

Error enumerating properties on scriptable plugin object

Can anyone help or advise?

My entire HTML load in is:

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/
libs/jquery/1.4.4/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/
libs/jqueryui/1.8.6/jquery-ui.min.js"></script>
<link rel="stylesheet" type="text/css" href="https://
ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/themes/ui-darkness/jquery-
ui.css" />
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/
libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript" src="http://www.google.com/jsapi"></
script>

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

jQuery(document).ready(function() {
swfobject.embedSWF("elements/tiny.swf", "flashclock", "200", "200",
"9.0.0", '', {}, {wmode: 'transparent'});
});
</script>

I've tried disabling loading in SWFobject explicitly by removing that
script tag, no joy.

Or if someone else can shed light on why I am getting no graph but a
space for it

ChartALot

unread,
May 24, 2011, 8:16:55 AM5/24/11
to google-visua...@googlegroups.com
Hi, 
You don't need to load the swf object, we do so internally if required.

As a baseline, you can use the example in the playground (there is a button on the top right which allows you to save the HTML locally).

HTH.



--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.


Reply all
Reply to author
Forward
0 new messages