|
|
|
Forum 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
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 1:19:54 AM
Posts: 870,
Visits: 1,386
|
|
| 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
|
|
|
|
|
Forum 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
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: Today @ 1:08:34 AM
Posts: 2,183,
Visits: 515
|
|
I'm afraid we do not have such a ready code sample.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|