Click here to Skip to main content
14,697,469 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am using Angularjs with Highcharts and currently I have added JSON data but it is in a function. I need to populate the chart using data form JSON file.

Please check below Plunker link for my code.

http://plnkr.co/edit/kh1aCGOFZ7zjABOsUV4F?p=preview

I have added JSON file(week.json) in plunker example. I need use that JSON file to populate the chart.
Posted
Comments
Jameel VM 19-Aug-13 10:50am
   
what you want actually?
Jameel VM 19-Aug-13 10:51am
   
did you need the json structure for XAxis and YAxis?
   
So, what is the exact problem?
Member 10218461 20-Aug-13 1:49am
   
Current chart is not populated from json file I need to populate the chart using week.json file. That's why I have added week.json file in the Plunker example.
Member 10218461 20-Aug-13 2:46am
   
No just for XAxis
Member 10218461 20-Aug-13 2:48am
   
I need to populate the chart using data form week.json file, which I have added in a Plunker example. current chart is populated with the data which is in chart function. if you take a look of the Plunker example(Link is in above question) you will get what I am talking about
Member 10218461 20-Aug-13 2:48am
   
I need to populate the chart using data form week.json file, which I have added in a Plunker example. current chart is populated with the data which is in chart function.
Jameel VM 20-Aug-13 3:09am
   
from where you populate the json structure?. I think you need to change the json structure exactly what the control expected.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900