@(Html.EJS().Chart("graph_bar").Height("258").Width("743").Series(sr =>
{
sr.Type(Syncfusion.EJ2.Charts.ChartSeriesType.Column).Marker(ViewBag.Marker).XName("x").YName("yValue2").DataSource(ViewBag.dataSource).Name("Red").Width(3).Add();
sr.Type(Syncfusion.EJ2.Charts.ChartSeriesType.Column).Marker(ViewBag.Marker).XName("x").YName("yValue1").DataSource(ViewBag.dataSource).Name("Yellow").Width(3).Add();
sr.Type(Syncfusion.EJ2.Charts.ChartSeriesType.Column).Marker(ViewBag.Marker).XName("x").YName("yValue").DataSource(ViewBag.dataSource).Name("Green").Width(3).Add();
}
).LegendSettings(legend => legend.Width("104%")
).PrimaryYAxis(px => px.Minimum(0).Maximum(50).Interval(10).LabelStyle(ViewBag.Style).LineStyle(ViewBag.Line).MajorTickLines(ViewBag.Line).MajorGridLines(ViewBag.line).LineStyle(ViewBag.lineStyle)
).PrimaryXAxis(px => px.Interval(1).ValueType(Syncfusion.EJ2.Charts.ValueType.Category).MajorGridLines(ViewBag.line).MinorGridLines(ViewBag.minorGridLines)
).LegendSettings(legend => legend.Alignment(Syncfusion.EJ2.Charts.Alignment.Center)
).ZoomSettings(z => z.EnableMouseWheelZooming(true)
).Tooltip(tt => tt.Enable(true)
).ChartArea(area => area.Border(ViewBag.ChartBorder)
).Title("Statistic by Mode (BL Manifest)").Load("load").Render()
)