コード例 #1
0
        private static void OnShowLabelsChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ChartSeries series = d as ChartSeries;

            series.showLabelsCache = (bool)e.NewValue;
            series.InvalidateCore();
        }
コード例 #2
0
        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();
        }
コード例 #3
0
        private static void OnClipToPlotAreaChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            ChartSeries series = d as ChartSeries;

            series.InvalidateCore();
        }