PDA

View Full Version : Ext.chart.ColumnChart is not visible



gabriella
12 Nov 2011, 7:33 AM
Hello all,

I tried to render a bar chart in ext by setting the chart url to point to the local charts.swf.
However, in one of my applications it works, in the other it doesn't.
For both I have used Firefox 8.0.
When using Firebug I noticed that in the application where the chart is visible the following is generated:


<object id="extflashcmp1019" width="100%" height="100%" type="application/x-shockwave-flash" data="ext/resources/charts.swf" style="visibility: visible;"><param name="allowScriptAccess" value="always">

<param name="bgcolor" value="#ffffff">

<param name="wmode" value="opaque">

<param name="flashvars" value="allowedDomain=localhost&YUISwfId=extflashcmp1019&YUIBridgeCallback=Ext.FlashEventProxy.onEvent">



</object>


while in the other the following is generated:


<div id="extflashcmp1196" class=" x-box-item" style="visibility: visible; height: 144px; left: 0px; top: 40px;"></div>

Any help would be appreciated.

Thanks,
Gabi

mitchellsimoens
18 Nov 2011, 12:27 PM
Then looks like the chart isn't being rendered. Any JS errors? Kind of impossible for us to know why.

gabriella
19 Nov 2011, 12:45 AM
No, I didn't get any errors , flash was installed so i really don't understand why it didn't work as long I made it work in another application(on a different computer).

However, I gave up and used a jquery plugin for this :)

Thanks for replying