|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 3/4/2008 7:17:14 AM
Posts: 2,
Visits: 6
|
|
| I'm using fusion charts with asp by using the dataURL facility on the object. The datapage being called is an asp file that pulls data from the database and streams the xml content back to the fusion charts flash for display. This works fine, however there are some parameters that allow different values to be pulled back from the db, unfortunately, even though the xml data streamed back is always correct, the fusion charts flash does not reflect the new data being pulled. I suspect that the data is being cached in the browser but ...... Help urgently needed
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 5:38:52 AM
Posts: 884,
Visits: 1,420
|
|
| hi, To stop caching of the XML file while passing the dataURL to the chart you need use a cache killer - as you may say. This you can do by adding a Querystring parameter whose value will never be same. Like: setDataURL("foo.asp?noCache=" & Timer) Where foo.asp returns the XML.
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 3/4/2008 7:17:14 AM
Posts: 2,
Visits: 6
|
|
| Hi Sudipto, thanks for the feedback, however still having issues and not sure if what I'm doing is right. TRied to follow ur suggestion by altering my code as shown below and now I'm getting an 'error loading data message' This is a sample of the code i'm using on the fusion charts object declaration on my page dUrl = "?m=" & Request.QueryString("m") & "&y=" & Request.QueryString("y")< object blah... ><param name="FlashVars" value="&dataURL=trackit/arc_trackit_data2.asp<%=dUrl%>" /><param name=movie value="Charts_v3/MSBar3D.swf?chartWidth=550&chartHeight=250" /><param name=quality value=high /><param name="wmode" value="transparent" /> <param name="allowscriptaccess" value="samedomain" /><embed src="Charts_v3/MSBar3D.swf" flashvars="&dataURL=trackit/arc_trackit_data2.asp<%=dUrl%>" quality=high bgcolor=#FFFFFF width="980" height="400" align="" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" swliveconnect="true" allowscriptaccess="samedomain"></embed></object>
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 5:38:52 AM
Posts: 884,
Visits: 1,420
|
|
| hi, try URL encoding the whole URL or atlest the query string that you are adding.
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|
|
Supreme Being
      
Group: Moderators
Last Login: Today @ 5:38:52 AM
Posts: 884,
Visits: 1,420
|
|
| hi, May i also suggest you to use FusionCharts.asp that has 2 methods renderChart and renderChartHTML which help you easily embed the charts in your page from ASP. You need not waste time writing all <object bla..bla...> For more on this you can visit our online documentaion : www.fusioncharts.com/Free/docs in Section : "Using With ASP"
Regards,
Sudipto Choudhury FusionCharts Team
|
|
|
|