You must be logged in to post your query.
Home › Forums › Chart Support › 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.
@model IEnumerable<DashBoardApp.Models.GetCategory_Result>
@{ ViewBag.Title = “Index”; }
<table> <tr> <th> @Html.DisplayNameFor(model => model.First().Branch) </th> </tr> @foreach (var item in Model) { <tr> <td> @Html.DisplayFor(model => item.Category) </td>
<td> @Html.DisplayFor(model => item.Sales)
</td>
</tr> } </table>
@prathyushchefmiddleeast-com,
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?
___________ Indranil Deo Team CanvasJS
You must be logged in to reply to this topic. Login/Register