private static void OnShowLabelsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ChartSeries series = d as ChartSeries; series.showLabelsCache = (bool)e.NewValue; series.InvalidateCore(); }
private static void OnVisibilityWatcherChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ChartSeries series = d as ChartSeries; if (series.chart != null) { series.chart.chartArea.InvalidateCore(ChartAreaInvalidateFlags.All); } series.InvalidateCore(); }
private static void OnClipToPlotAreaChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { ChartSeries series = d as ChartSeries; series.InvalidateCore(); }