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

schema.data in razor syntax

0 Answers 23 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Sunil
Top achievements
Rank 1
Sunil asked on 12 Oct 2012, 05:11 AM
I am new to kendoUI.

I define the chart as follows

 @(Html.Kendo().Chart<SureCalc.Models.HomePurchaseReportDataModel>()
                      .Name("homePuchaseChart")
                      .Legend(legend => legend
                      .Position(ChartLegendPosition.Top)
                    )
                    .DataSource(ds => ds.Read(read => read.Action("_HomePurchaseResult", "Decision")))
                    .................................

I want to bind to a specif field in the returned object instead of the top level object.
How do I do this? I don't see schema.data exposed in RAZOR syntax.

Thanks
Sunil

No answers yet. Maybe you can help?

Tags
Charts
Asked by
Sunil
Top achievements
Rank 1
Share this question
or