-
Adds a chart using just one single component.
-
Allows you to enable interactivity between Javascript charts.
-
Auto-updates the chart object when the data source is modified.
-
Offers advanced control by giving you access to the complete FusionCharts object (containing the chart configuration).
To install ember-fusioncharts to any existing ember project, run:
In your ember-cli-build.js build file, import fusioncharts library:
Create a simple component(e.g. chart-viewer, also you can use it anywhere in your
application) to show your interactive charts, run:
Write your chart logic in chart-viewer.js file:
And use fusioncharts-xt component in your chart-viewer.hbs template to show
your charts:
Use chart-viewer component in your application.hbs template:
From fusioncharts@3.13.3-sr.1 and ember-fusioncharts@2.0.0 You can visualize timeseries data easily with ember.js.
Import fusioncharts and fusiontime library to your ember-cli-build.js build file:
Next step is to create a component and use that component to render a TimeSeries Chart.
For our example we'll call this component timeseries-viewer. Run the below command on your project to generate a new component.
Add the below code in your timeseries-viewer.js file.
And use fusioncharts-xt component in your timeseries-viewer.hbs template to show your charts:
Then, use timeseries-viewer component in your application.hbs template:
Ember-FusionCharts module is licensed under open-source, distributed under the terms of the MIT/X11 License. You will still need to include FusionCharts in your page, as this project provides no direct functionality. You can download a free evaluation version here. To use in a commercial environment, please purchase a FusionCharts license.
© 2002-2018 InfoSoft Global Private Limited. All Rights Reserved.