Comments (4)
JSON file is not always required. You can directly send JSON data to the chart. And ". feedData" is applicable for the real time chart's only. If you are using this Angular plugin, then you don't have to think about the data update API's of FusionCharts, You have to just update the data in the scope of the chart directive only. You can refer to this samle for details. This sample update part of the data. But you can change the whole data and the chart will be updated.
from angularjs-fusioncharts.
I have tried the method of updating only the scope. This does update the chart but re-draws the chart element. What I was hoping for is that each data point would be added without disrupting the chart element.
We have 2 hrs of data being updated every minute so the chart gets redrawn every minute. Instead, I'd like to use something like .feedData() so that only the newest point is added to the chart.
from angularjs-fusioncharts.
There might be various way for this-
- Use id in chart (directive attribute "chartid") and access the chart using FusionCharts("your_chart_id") and then you can use the .feedData of that.
- Add the data in the datasource of the controller and set animation ='0' in the chart's configuration.
If this does not work, please send us a simple sample or jsfiddle link of your chart.
from angularjs-fusioncharts.
I've used animation=0 and that seems to be working! Thanks!
from angularjs-fusioncharts.
Related Issues (20)
- Bower.json and releases HOT 7
- Compatible with latest Fusioncharts 3.9.0 HOT 1
- ConfigureLink for Drill-down chart HOT 4
- doughnut2d is rendering transparent fill HOT 4
- barchart not rendering with contentString with Google Maps HOT 3
- Best practice for loading multiple( more than 10 ) pie/zoomline in (fusion chart js API + Angular js) HOT 1
- Events are not working if inside template of angularjs component HOT 1
- The hidden fusionchart doesn't update HOT 1
- How can I change the attribute in dataset of Fusionchart? HOT 3
- state change when chart is in hidden tab HOT 1
- Question about using JSON data retrieved from the server HOT 1
- Uncaught TypeError: Cannot read property 'nodeType' of null HOT 3
- Pie charts are black on Safari and Firefox HOT 1
- Create Package : Price and validity is accepting negative value.
- Disposing logic HOT 4
- line not drawing in mscombi2d HOT 3
- How Can I send a data from a chart to another chart?
- Country Map not centered HOT 2
- Grunt is listed as a production dependency HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from angularjs-fusioncharts.