• Content count

  • Joined

  • Last visited

About mnowotny

  • Rank
    Forum Newbie
  1. [FusionTime] How to use setChartAttribute?

    Thanks for your reply. I wish there was a better/easier way to update certain properties that are describing the chart, not the data. I'm looking forward to your next FT update! Kind regards mnowotny
  2. [FusionTime] How to use setChartAttribute?

    Thank you for your reply! The chart object isn't documented, is it? Maybe I'm misunderstanding the reference here: I thought that all of these attributes would be placed right under the dataSource object. It'd be great if you could update the docs. For now I'm updating the chart like this: let data = chart.getChartData(); data.navigator.enabled = false; chart.setChartData(data); chart.render(); is there a better approach to do this? What about my second question? How does setChartAttribute('type', ?) work and what is type in this context? Kind regards mnowotny
  3. Hi, I'm playing around with the FusionTime library and stumbled across the setChartAttribute function: How can I use this function with nested properties? I tried it like this: chart.setChartAttribute('navigator', {enabled : false}); chart.setChartAttribute('navigator.enabled', false); chart.setChartAttribute({navigator : {enabled : false}}); but nothing worked out. I'd also like to know how to set certain properties, like 'type'. Since the documentation states that 'type' expects a number, I tried this: chart.setChartAttribute("type", 1); chart.setChartAttribute("type", 0); chart.setChartAttribute("type", "1"); chart.setChartAttribute({type: 1}); And I also tried using 'area' or 'column' instead of the number, but that didn't work out either. How do I use this function? Can I even use this without reloading everything? Kind regards mnowotny
  4. 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