示例#1
0
        private static void OnStrokeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RadarLineSeries series = d as RadarLineSeries;

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

            if (series.isPaletteApplied)
            {
                series.UpdatePalette(true);
            }
        }
示例#2
0
        private static void OnStrokeLineJoinChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RadarLineSeries series = d as RadarLineSeries;

            series.renderer.strokeShape.StrokeLineJoin = (PenLineJoin)e.NewValue;
        }
示例#3
0
        private static void OnStrokeDashArrayChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RadarLineSeries series = d as RadarLineSeries;

            series.renderer.strokeShape.StrokeDashArray = (e.NewValue as DoubleCollection).Clone();
        }
示例#4
0
        private static void OnStrokeThicknessChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RadarLineSeries series = d as RadarLineSeries;

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