Hello,
I am using the Chart/Column control and I want the user to have access to a new page linked when they click on each bar.
Can you help me with this provided code.
@(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(2).Add();
sr.Type(Syncfusion.EJ2.Charts.ChartSeriesType.Column).Marker(ViewBag.Marker).XName("x").YName("yValue1").DataSource(ViewBag.dataSource).Name("Yellow").Width(2).Add();
sr.Type(Syncfusion.EJ2.Charts.ChartSeriesType.Column).Marker(ViewBag.Marker).XName("x").YName("yValue").DataSource(ViewBag.dataSource).Name("Green").Width(2).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)
).Tooltip(tt => tt.Enable(true)).ChartArea(area => area.Border(ViewBag.ChartBorder)).Title("Statistic by Mode (BL Manifest)").Load("load").Render()