minijh

How to create the chart directly from api response using AngularJS

Recommended Posts

Hi,

 

I want to create a chart directly from the response returned by my REST API. The response returned is in JSON format with multiple key- values. I want to create a graph using only few keys from the response. Eg: Create graph using only State and Amount keys.

 

I am pretty new to Fusion Charts. So please guide me. Thanks

Share this post


Link to post
Share on other sites

Hi,

 

Since, you are a newbie in FusionCharts, I would suggest you to start off with static charts . Once, done you can move ahead with using the wrappers provided by FusionCharts for asp.net , Php, Java and ROR.

 

Documentation : http://www.fusioncharts.com/dev/getting-started/building-your-first-chart.html

 

The for JAVA wrapper and examples can be found below:

 

https://github.com/fusioncharts/jsp-wrapper/

http://www.fusioncharts.com/dev/using-with-server-side-languages/java/introduction.html

 

Hope this helps.

Share this post


Link to post
Share on other sites

Hi,

   I am using the fusion charts angular plugin and retrieving data from the server using AJAX. Are there any examples on how to do this for multiple graphs. I have used static data and it works but having some issues with the dynamic data. I have an array in my scope that stores the chart data from the server and then in the html I use ng-repeat to iterate through this array and pass the data to the fusioncharts directive. 

 

Any help is appreciated!!!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now