Search the Community

Showing results for tags 'fetch'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Company Forums
    • Company News
  • Product Forums
    • FusionCharts XT
    • FusionWidgets XT
    • PowerCharts XT
    • FusionMaps XT
    • Collabion Charts for SharePoint
    • jQuery Plugin for FusionCharts
    • AngularJS plugin
    • ReactJS plugin
  • General Forums
    • FusionCharts Jobs and Consultation
    • FusionLounge

Found 2 results

  1. I am evaluating FC for a financial institution, to be used in an investment portfolio dashboard context. I use the prepared jsfiddle samples and then try to apply them to my own data in order to evaluate the chart features and behavior. I have been able to do this as long as the data is copy pasted directly in to the javascript on the jsfiddle page. But when the data series are larger this is not very convenient. For such examples, I notice your jsfiddle versions make use of the fetch(URL_DATA) method, such as in this case of this timeseries example: Your code looks like this: const URL_DATA = ''; const URL_SCHEMA = ''; const jsonify = res => res.json(); const dataFetch = fetch(URL_DATA).then(jsonify); const schemaFetch = fetch(URL_SCHEMA).then(jsonify); Promise.all([dataFetch, schemaFetch]).then(([data, schema]) => { var fusionTable = new FusionCharts.DataStore().createDataTable(data, schema); I then download your sample data.json file and put it on my own server instead, without tampering with it at all. I change the URL_DATA to reflect the new URL: const URL_DATA = ''; But then the fetch no longer works and no chart is rendered. I would highly appreciate if anyone could point me in the right direction here. Why would the script not accept the data.json file when it is placed on my server? It looks completely like the version found on your URL, when I open the file in my Firefox browser. Thank you beforehand!
  2. Hello, we've been using fusioncharts for more than 5 years already and we're really excited about fusiontime charts. They fit our requirements very well because most of the time we want to display timeseries data. We request our data with a stepping parameter to ensure we don't have to wait several seconds for the response. We then want to fetch more dense data when we zoom in/adjust the timerange. Here's an example of how we would like to use it: Load data of the last 100 days with a stepping of 30 minutes for each data point. Zoom into the last week Load (add) data of the last week with a stepping of 5 minutes for each data point. Zoom out to the last 100 days Data is already available. The dense data should be binned by fusiontime like it's already implemented. I read the fusiontime guide but I didn't found any event or anything comparable to load data for a certain timerange. If there's a way to do this please let me know! Kind regards mnowotny