I'm using an EJS chart which has 8 different series. I have all but 1 of these visibility property set to false on load. In addition, I have 8 EJS checkboxes that correspond to each chart series. I would like to be able to toggle visibility client side when the corresponding checkbox is toggled. I am pasting an example of each control below. Can you help me understand how I should go about this?
series.Type(Syncfusion.EJ2.Charts.ChartSeriesType.Line).Width(2).XName("ChartTimeString")
.YName("Prior7Days").DataSource(ViewBag.WaitingRoomPTDatasource).Name("Prior7Days").Visible(false).Add();
@Html.EJS().CheckBox("chkPrior7").Label("Prior 7 Days").Name("chkPrior7").CssClass("lbl").Checked(false).Render()