Stuck with MVVM declaration using knockout & upshot

163 Views Asked by At

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

1

There are 1 best solutions below

0
On BEST ANSWER

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