or
<div class="chart-wrapper"> @(Html.Kendo().Chart(Model.SeriesData) .Name("chart") .Title("Test Chart") .Legend(legend => legend .Visible(false) ) .SeriesDefaults(seriesDefaults => seriesDefaults.Bar().Stack(ChartStackType.Normal) ) .CategoryAxis(axis => axis .Categories("Bob Jones", "Sarah Giant") .MajorGridLines(lines => lines.Visible(false)) ) .ValueAxis(axis => axis .Numeric() .Line(line => line.Visible(false)) .MajorGridLines(lines => lines.Visible(true)) ) .Series(series => { series.Bar(new double[] { 10, 17 }).Color("#f3ac32"); series.Bar(new double[] { 30, 27 }).Color("#b8b8b8"); series.Bar(new double[] { 10, 17 }).Color("#e3ac32"); series.Bar(new double[] { 30, 27 }).Color("#ab6e36"); }) .Tooltip(tooltip => tooltip .Visible(true) .Template("#= series.name #: #= value #") ) )</div>@model LyncMeetingReporting.Report.Controllers.ChartModel<div class="chart-wrapper"> @(Html.Kendo().Chart(Model.SeriesData) .Name("chart") .Title("Test Chart") .Legend(legend => legend .Visible(false) ) .SeriesDefaults(seriesDefaults => seriesDefaults.Bar().Stack(ChartStackType.Normal) ) .CategoryAxis(axis => axis .Categories(Model.Attendees) .MajorGridLines(lines => lines.Visible(false)) ) .ValueAxis(axis => axis .Numeric() .Line(line => line.Visible(false)) .MajorGridLines(lines => lines.Visible(true)) ) .Series(series => { series.Bar(m => m.Data, m => m.Colour); }) .Tooltip(tooltip => tooltip .Visible(true) .Template("#= series.name #: #= value #") ) )</div>public ActionResult Log(Guid? id, MeetingDetailsType? type){ var chartModel = new ChartModel() { Attendees = new string[] { "Bob Jones", "Sarah Giant" }, SeriesData = new SeriesData[] { new SeriesData() { Colour = "#f3ac32", Data = new double[] { 10, 17 }}, new SeriesData() { Colour = "#b8b8b8", Data = new double[] { 30, 27 }}, new SeriesData() { Colour = "#e3ac32", Data = new double[] { 10, 17 }}, new SeriesData() { Colour = "#a8b8b8", Data = new double[] { 30, 17 }}, } }; return View(chartModel);}public class ChartModel{ public IEnumerable<string> Attendees { get; set; } public IEnumerable<SeriesData> SeriesData { get; set; }}public class SeriesData{ public double[] Data {get; set;} public string Colour {get; set; }}<input type="textbox" name="MasterAccountID" id="MasterAccountID" />@(Html.Kendo().Grid<Ownership>() // Specify the type of the grid .Name("Ownership") .Columns(columns => { columns.Bound(o => o.AccountName); columns.Bound(o => o.AccountNumber); columns.Bound(o => o.Percent); columns.Bound(o => o.Status); columns.Command(command => { command.Edit(); command.Destroy(); }).Width(200); }) .DataSource(dataSource => dataSource .Ajax() .ServerOperation(true) .PageSize(20) .Model(model => { model.Id(o => o.AccountNumber); }) .Read(read => read.Action("Ownership_Read", "Owner", [PASS TEXTBOX VALUE])) ) )