Home › forums › Using CanvasJS › Rendering Data to Chart
Tagged: Rendering Data
Hey Can anyone help me with below code .
below is my index.chtml code and i would like to render this to a chart.
ViewBag.Title = “Index”;
@Html.DisplayNameFor(model => model.First().Branch)
@foreach (var item in Model)
@Html.DisplayFor(model => item.Category)
@Html.DisplayFor(model => item.Sales)
Can you kindly create a sample project with sample data reproducing the issue and share it with us over Google-Drive or Onedrive, so that we can look into your code, understand your scenario better and help you out?
You must be logged in to reply to this topic.