Pregunta

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

¿Fue útil?

Solución

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top