Remove series from TChartListBox without deleting the series from graph
Posted: Tue Jul 21, 2020 10:11 pm
How do I keep a Graph series from showing up in a TChartListBox? I do not want to remove the series completely, just have it so the user can not see or select one or more of the series in the list box. When I set the Series[x].visible to false, the series does not show up in the graph or the legend. But the series remains visible and selectable in the list box. I am not looking to remove all the series from the list box, just make certain ones not appear, which may or may not become available after the user changes certain criteria. Hence I can not use RemoveSeries without a lot more code to re-add them when needed.