Question

I have my service returinig data in this format enter image description here

Now I am trying to access data in html this way enter image description here

I am able to access the current period but not the Id of WebChartView.

BTW I am using MVC4 chartResult is the view Model

Was it helpful?

Solution

Actually Data Property is Collection of WebChartViews so I have tried like this Result().Data() to loop through and it worked

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top