|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 2/23/2008 12:53:27 PM
Posts: 1,
Visits: 2
|
|
| Hi, We're using the JavaScript dataURL method, and we're passing some parameters in the data URL, but it looks like FusionCharts is also adding another parameter called FCTime with a date/time value into the list of parameters. We DO NOT want this extra parameter to be added - it is possible to prevent it? Thanks, Andy
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 2 days ago @ 7:57:52 PM
Posts: 1,956,
Visits: 468
|
|
Andy,
It's not possible to directly remove it. You can customize the source code to remove this, though.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 5/25/2008 1:54:12 PM
Posts: 5,
Visits: 14
|
|
I'd also like to modify the code to disable the appendage of the FCTime variable, but I'm not a Javascript guru, and I can't find the specific location in the .js file where the querystring is being added. Can you point me in the right direction for disabling this?
Thanks,
M
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 2 days ago @ 7:57:52 PM
Posts: 1,956,
Visits: 468
|
|
That code is not present in JS - but rather FusionCharts source code.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 4/18/2008 7:51:51 PM
Posts: 1,
Visits: 1
|
|
Is there any way to prevent the generation of that parameter in the request? It breaks the cache, removing any possibility of setting etag or cache control headers.
www.newrelic.com
|
|
|
|
|
FusionCharts Team
      
Group: Administrators
Last Login: 2 days ago @ 7:57:52 PM
Posts: 1,956,
Visits: 468
|
|
You'll have to customize the code to attain that.
Thanks, Pallav Nadhani FusionCharts Team
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 5/28/2008 12:24:45 PM
Posts: 3,
Visits: 5
|
|
This is a major bug in my humble opinion. Especially since this "feature" cannot be disabled in JavaScript.
Please remove the code from the charts and add it to the FusionCharts.js:
--- FusionCharts.js 2008-04-25 14:22:38.000000000 -0700
+++ FusionCharts.js-NEW 2008-04-25 14:22:35.000000000 -0700
@@ -125,6 +125,7 @@
return swfNode;
},
setDataURL: function(strDataURL){
+ strDataURL += '&FCTime='+(new Date()).getTime();
//This method sets the data URL for the chart.
//If being set initially
if (this.initialDataSet==false){
Please? 
|
|
|
|