Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
75
Creating igDataChart by passing DataChartModel in MVC application in Controller action
posted

Hello, I am looking for an ASP.NET MVC  example application that demonstrates how to create/configure DataChartModel in the controller part and pass it to View. I would like to have a line series.

The View would  simply uses Html Helper to create the igDataChart:

@using Infragistics.Web.Mvc
@model Infragistics.Web.Mvc.DataChartModel


@if (Model != null)
{
@(Html.Infragistics().DataChart(Model))

}

Thanks