private void ChartListBoxItemToggle(bool bCheck)
        {
            IPlottable[] Plots = NetworkChart.Plot.GetPlottables();

            for (int i = 0; i < ChartListBox.Items.Count; i++)
            {
                DefaultSeriesTypes[i].bVisible = (bool)((CheckBox)ChartListBox.Items[i]).IsChecked;
                Plots[i].IsVisible             = DefaultSeriesTypes[i].bVisible;
            }

            NetworkChart.Render();
        }
 private void ChartShowLegendCheckBox_Unchecked(object sender, RoutedEventArgs e)
 {
     NetworkChart.Plot.Legend(false);
     NetworkChart.Render();
 }
 private void ChartShowLegendCheckBox_Checked(object sender, RoutedEventArgs e)
 {
     NetworkChart.Plot.Legend(true, ScottPlot.Alignment.UpperLeft);
     NetworkChart.Render();
 }
 private void PlotStyleSelector_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     NetworkChart.Plot.Style((ScottPlot.Style)PlotStyleSelector.SelectedIndex);
     NetworkChart.Render();
 }