dataURL is not refreshing the xml data
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



dataURL is not refreshing the xml data Expand / Collapse
Author
Message
Posted 2/21/2008 5:38:50 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/21/2008 10:12:58 AM
Posts: 2, Visits: 4

First of all i want to congratulate The FusionChart Team for making such a wonderful Tool.My problem is am trying to embed this swf file in a pdf using java.For each chart i used to create different xml data.But the problem is that data inside the chart is not been refreshed everytime.am able to embed flash inside the pdf,but the chart is not being refreshed.am getting the same data again and again.....cn anyone help me to sort out this.One more question is it necessary to name the xml file starting with Data like Data.xml,Data2005.xml???

am setting the code like this

Document document = new Document(PageSize.A4);
PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream(pdfFile));
document.open();
document.add(new Annotation(100f, 550f, 500f, 800f, "Charts/FC_MSLine.swf?dataURL=datajkhfusdn.xml","application/x-shockwave-flash", true));
document.close();
Everytime new xml files is to be updated in this code.how cn i get this? Thanks in advance

Post #4645
Posted 2/21/2008 7:40:29 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 1:21:47 AM
Posts: 675, Visits: 1,079
Hi,

Put a cache control/killer for the XML so that each time uncached XML is received.

You can use any valid XML file name. You need not sick to Dataxxxx.xml.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #4660
Posted 2/21/2008 10:13:55 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/21/2008 10:12:58 AM
Posts: 2, Visits: 4
Thanks once again.can u juzz give a piece of code for uncaching the xml file in jsp/java since am new to both...thanks in advance
Post #4665
Posted 2/28/2008 7:13:08 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 7:57:52 PM
Posts: 1,956, Visits: 468
I'm afraid we do not have such a ready code sample.

Thanks,
Pallav Nadhani
FusionCharts Team
Post #4770
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -7:00, Time now is 11:53pm


Execution: 0.016.