Exemplo n.º 1
0
        private static void OnStrokeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PolarLineSeries series = d as PolarLineSeries;

            series.renderer.strokeShape.Stroke = e.NewValue as Brush;

            if (series.isPaletteApplied)
            {
                series.UpdatePalette(true);
            }
        }
Exemplo n.º 2
0
        private static void OnStrokeLineJoinChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PolarLineSeries series = d as PolarLineSeries;

            series.renderer.strokeShape.StrokeLineJoin = (PenLineJoin)e.NewValue;
        }
Exemplo n.º 3
0
        private static void OnStrokeDashArrayChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PolarLineSeries series = d as PolarLineSeries;

            series.renderer.strokeShape.StrokeDashArray = (e.NewValue as DoubleCollection).Clone();
        }
Exemplo n.º 4
0
        private static void OnStrokeThicknessChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PolarLineSeries series = d as PolarLineSeries;

            series.renderer.strokeShape.StrokeThickness = (double)e.NewValue;
        }