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
145
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

Parents
No Data
Reply
  • 1080
    Verified Answer
    Offline posted

    Hello,

    Thank you for posting in our community.

    I have created and attached a sample illustrating the desired behavior. Please test it on your side and let me know whether it helps you achieve your requirement.

    31364.Sample.zip

Children
No Data