Hi, I need to display a total count per series in a note at end of bar per attachment. The attachment is a screenshot of equivalent functionality in Telerik UI for AJAX page that I am converting over to MVC.
Chart syntax at moment:
Chart syntax at moment:
@(Html.Kendo().Chart()
.Name(Model.ChartName)
.Title(title => title
.Text(Model.ChartTitle)
.Align(ChartTextAlignment.Left)
)
.HtmlAttributes(new { @class = "dashboardChart" })
.Legend(legend => legend
.Visible(Model.LegendVisible)
.Position(ChartLegendPosition.Right)
)
.Series(series =>
{
series.Bar(new double[] { Model.AgedCount }).Name(Model.ChartAgedSeriesTitle).Color(myapp.Controllers.DashboardController.ChartSeries1Color);
series.Bar(new double[] { Model.UnAgedCount }).Name(Model.ChartUnAgedSeriesTitle).Color(myapp.Controllers.DashboardController.ChartSeries2Color);
})
.ValueAxis(axis => axis.Numeric()
.MinorUnit(1)
.MajorUnit(Model.ChartMaxValue <= 10 ? 1 : 5)
.Min(0)
.Max(Model.ChartMaxValue)
.MajorGridLines(lines => lines.Visible(true))
.MinorGridLines(lines => lines.Visible(true))
.Visible(true)
.Labels(labels => labels.Visible(true))
.MinorTicks(ticks => ticks.Visible(true))
)
.Tooltip(tooltip => tooltip
.Visible(true)
)
.Events(events => events
.SeriesClick("onSeriesClick")
)
)