Exemplo n.º 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.TwoColorAreaSeries)series;

            s.Fill          = Fill.ToOxyColor();
            s.Fill2         = Fill2.ToOxyColor();
            s.MarkerFill2   = MarkerFill2.ToOxyColor();
            s.MarkerStroke2 = MarkerStroke2.ToOxyColor();
        }
Exemplo n.º 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.TwoColorAreaSeries)series;

            s.Fill          = Fill.ToOxyColor();
            s.Fill2         = Fill2.ToOxyColor();
            s.MarkerFill2   = MarkerFill2.ToOxyColor();
            s.MarkerStroke2 = MarkerStroke2.ToOxyColor();
            s.Limit         = Limit;
            s.Dashes2       = Dashes2?.ToArray();
            s.LineStyle2    = LineStyle2;
        }