ttremain

"Retrieving data. Please wait" when trying to load new data

Recommended Posts

The initial load of one of our charts:

<div id="volume_amDiv">&nbsp;</div>
<script type="text/javascript">
  var myChartg = new FusionCharts("Charts/MSCombiDY2D.swf", "yr_vol", "450", "325", "0", "1", "#404040");
  myCharta.setDataURL(escape("volume_am.php?record_year=<?php echo $recordyear; ?>" ));
  myCharta.render("volume_amDiv");
</script>

Later, upon clicking a year in the chart, the following is run:

<script>
  function updateCharts(recordyear)  {
    //alert(recordyear);  //  Runs only as a test, of course
    var charta = getChartFromId("volume_am");
    charta.setDataURL( escape( "volume_am.php?record_year=" + recordyear ) );
  }
</script>

The result is no data, and the message "Retrieving data. Please wait".  Checking the Apache logs, the file volume_am.php is not accessed again.

I can also access the php file directly through firefox.

<?xml version="1.0" encoding="utf-8"?>
<chart showLegend='1' showFCMenuItem='0' caption='Day Shift' subCaption='Denomination Breakdown for 2019' bgcolor='404040,404040' showborder='0' bgAlpha='100' canvasbgcolor='404040' showcanvasborder='0' divlinecolor='cccccc' divlinedashed='1' divlinedashlen='1' divlinegaplen='1' showalternatehgridcolor='0' useplotgradientcolor='0'  tooltipcolor='ffffff' tooltipbgcolor='404040' tooltipbgalpha='80' legendbgcolor='404040' legendborderalpha='0' legendshadow='0' legenditemfontsize='10' legenditemfontcolor='ffffff' baseFontColor='FFFFFF' numberSuffix='' numberPrefix='$' showAlternateVGridColor='1' alternateVGridColor='665e5e' alternateVGridAlpha='40' paletteColors='15CBBA,FF8C05,FF0000,DF1B80,0372AB,EBE81F'>
  <set label='Currency' value='11964' />
  <set label='Coin' value='11' />
  <set label='Checks' value='85' />
  <set label='Credit Cards' value='558' />
  <set label='Cash Paid Out' value='472' />
  <set label='Sales Tax' value='923' />
</chart>

 

Please advise

 

Share this post


Link to post
Share on other sites

Hi,

 

Apologies for the delay in response due to extremely bad weather condition at our location.

As per our observation, you are using the older Flash version of the library, which has been deprecated long back and no longer support is provided. FusionCharts is a pure JavaScript library from 3.4.0 version and the current version is 3.13.4.

We would suggest you to upgrade to the current version and check. Please find the download link : https://www.fusioncharts.com/download/fusioncharts-suite-xt

 

Thanks,

Akash.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now