Last post Mar 22, 2016 03:28 PM by shivigupta31web
Mar 18, 2016 04:59 AM|vivekbuv|LINK
I have one page in that page i have two highcharts. One is Line chart and another one is Pie chart.I want to pass the data using ajax to call webservice.asmx page and show the graph.
I have done with one highchart. But i dont know how to show two chart in different data?
Mar 18, 2016 07:43 AM|Yohann Lu|LINK
From your description, I found some tutorials in the below. You can refer it and get some new ideas.
1: You can load highcharts data from different JSON Response. Different Ways of Loading highcharts data:
2: Highcharts in asp.net using jquery ajax:
3: Highchart with webservice in ASP.net:
You can also visit the highcharts forum for getting more information :
Mar 18, 2016 12:13 PM|vivekbuv|LINK
I am using webservice for getting data from database....
in my webservice i am using list method to get one by one data........In database table
i want to get another table data from database and show it in another chart.....
please if you know example or sample code.......please tell me
Mar 22, 2016 03:28 PM|shivigupta31web|LINK
You can try using hidden fields , for example if you have a pie chart with three values, you can set there hidden fields in the code behind and use them in the client side to show it on the pie chart tor the line chart or whatever you want to use.
I used canvasjs.com to fetch data from code behind and set it onto my required charts.
Check out the code of the above chart and replace the y axis values by
For more details on how to use hidden fields and get values from code behind to client side, check out my article on codeproject.com :
Hope this helps.