/// <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(); }
/// <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; }