The data.xml
is not retrieved and put in the chart at flask-template-rendering time. When the client, that have loaded the fusion.js lib, call the chart initialization, a request is made to retrieve the resource and so it should be accessible from the client side.
data.xml
is inaccessible (hence 404) from the client side (since it's in the template/
folder) and on top of that the path is wrong as you can see here:
...
127.0.0.1 - - [12/Jan/2014 13:25:35] "GET /data.xml HTTP/1.1" 404 -
127.0.0.1 - - [12/Jan/2014 13:25:35] "GET /static/Column3D.swf HTTP/1.1" 304 -
...
/static/Column3D.swf
is fetched using http://whateveryour.domain/static/Column3D.swf
whereas /data.xml
is fetched using http://whateveryour.domain/data.xml
which don't exists.
Try to put your data.xml
in the static folder (after all that's a static resource more than it is a template) and to access it the same way you did with Column3D.swf
and it should work just fine.