This is a migrated thread and some comments may be shown as answers.

Get data from WebAPI?

0 Answers 55 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 13 Jul 2017, 07:50 PM
I want to have a page with about a dozen different HtmlCharts on it, and I want them to all load their data in from a WebAPI controller.

I wanted to do this simply because if I have 12 different charts/graphs, I don't want end-users to have to sit and wait for the PageLoad event to gather and parse through tons of data. I'm hoping to just define all the charts on my webform and then tell jquery/javascript to grab the data and bind them asynchronously, letting them "appear" as they complete-- knowing that some charts will render much slower than others. I want people to be able to see each chart as they finish rendering rather than waiting for the whole lot to finish. I also don't want to just do them "1 by 1" synchronously.

Is this possible or am I going down the wrong path? I didn't see any examples, only something about using WCF which I'm not super familiar with.

No answers yet. Maybe you can help?

Tags
Chart (HTML5)
Asked by
Alex
Top achievements
Rank 1
Share this question
or