View Full Version : Ext.ux.Chart.Fusion.Panel doesn't render the chart!

14 Jun 2010, 1:12 AM
Hi all,
I've a problem with the EXT extension for FusionCharts.
I'm trying to render a simple FC in this way:

var fusion= new Ext.ux.Chart.Fusion.Panel({
id : 'Column3D',
title : 'ux.FusionPanel',
collapsible : true,
chartCfg :{ id : 'Column3D'},
autoScroll : true,
chartURL : '/chart/Column3D.swf',
dataURL : '/ws/fusionMedia',
width : 500,
height : 400,

var cont = new Ext.Container({
autoHeight: true,
renderTo: Ext.getBody(),
items: [grid,fusion]

But it still display a blank panel after the grid just with the title.With fireBug I see that the Column3D.swf isn't asked from the page even if the path is correct. I'm using that in the wrong way?
In the HTML page I include

<script type="text/javascript" src= "./ext-3.2.1/adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="./ext-3.2.1/ext-all-debug.js"></script>
<script type="text/javascript" src="/custom/DIrProva/FusionCharts.js"></script>
<script type="text/javascript" src="./chartExt/uxvismode.js"></script>
<script type="text/javascript" src="./chartExt/uxmedia.js"></script>
<script type="text/javascript" src="./chartExt/uxflash.js"></script>
<script type="text/javascript" src="./chartExt/uxchart.js"></script>
<script type="text/javascript" src="./chartExt/uxfusion.js"></script>

Which is the problem?Thank's for your help!:D

14 Jun 2010, 5:24 AM
ok,solved,the uxvismode.js that I had wasn't correct.Taken the official one and now It's ok.

Another question:
where can I find an example of a fusionchart data loaded from a local json data store?I've seen "Doug's Demo Desk" example but It's not clear how to use it in a real application.Is there another examples?

16 Dec 2010, 4:53 AM
what is the official js u took?