コード例 #1
0
        /// <summary>
        /// Synchronizes the properties.
        /// </summary>
        /// <param name="series">The series.</param>
        protected override void SynchronizeProperties(OxyPlot.Series.Series series)
        {
            base.SynchronizeProperties(series);
            var s = (OxyPlot.Series.LinearBarSeries)series;

            s.BarWidth            = BarWidth;
            s.FillColor           = FillColor.ToOxyColor();
            s.StrokeColor         = StrokeColor.ToOxyColor();
            s.StrokeThickness     = StrokeThickness;
            s.NegativeFillColor   = NegativeFillColor.ToOxyColor();
            s.NegativeStrokeColor = NegativeStrokeColor.ToOxyColor();
        }
コード例 #2
0
        /// <summary>
        /// Synchronizes the properties.
        /// </summary>
        /// <param name="series">The series.</param>
        protected override void SynchronizeProperties(OxyPlot.Series.Series series)
        {
            base.SynchronizeProperties(series);
            var s = (OxyPlot.Series.BarSeriesBase)series;

            s.BaseValue         = BaseValue;
            s.ColorField        = ColorField;
            s.FillColor         = FillColor.ToOxyColor();
            s.IsStacked         = IsStacked;
            s.NegativeFillColor = NegativeFillColor.ToOxyColor();
            s.StrokeColor       = StrokeColor.ToOxyColor();
            s.StrokeThickness   = StrokeThickness;
            s.StackGroup        = StackGroup;
            s.ValueField        = ValueField;
            s.LabelFormatString = LabelFormatString;
            s.LabelMargin       = LabelMargin;
            s.LabelPlacement    = LabelPlacement;
        }