Search the Community

Showing results for tags 'timeserie'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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 1 result

  1. I use FusionTime for ploting time series and it works great but I noticed a bug with FusionTime recently. As you can see in the attached screenshot, there is a shift in the plot after the 27th of october. Looking more precisely, it appears that the probleme lays in the method fusionDataStore.createDataTable(data, schema). My input data are : const data = [ ["2019-10-20", 1], ["2019-10-21", 2], ["2019-10-22", 3], ["2019-10-23", 4], ["2019-10-24", 5], ["2019-10-25", 6], ["2019-10-26", 7], ["2019-10-27", 8], ["2019-10-28", 9], ["2019-10-29", 10], ["2019-10-30", 11] ]; const schema = [ { name: "Time", type: "date", format: "%Y-%m-%d" }, { name: "Grocery Sales Value", type: "number" } ]; The result given by fusionDataStore.createDataTable(data, schema)._data is : [ [1571522400000, 1], [1571608800000, 2], [1571695200000, 3], [1571781600000, 4], [1571868000000, 5], [1571954400000, 6], [1572040800000, 7], [1572127200000, 8], [1572217200000, 9], [1572303600000, 10], [1572390000000, 11] ] As you can notice, there is a duplicate in the timestamp 1572127200000. A complete example of the problem is available in this sandbox : https://codesandbox.io/s/fusioncharts-timeserie-bug-example-4pbue?fontsize=14 Maybe a pb with summer/winter time ? Thanks!