Ejemplo 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.TwoColorLineSeries)series;

            s.Limit  = Limit;
            s.Color2 = Color2.ToOxyColor();
        }
Ejemplo 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.AreaSeries)series;

            s.Color2      = Color2.ToOxyColor();
            s.DataFieldX2 = DataFieldX2;
            s.DataFieldY2 = DataFieldY2;
            s.ConstantY2  = ConstantY2;
            s.Fill        = Fill.ToOxyColor();
            s.Reverse2    = Reverse2;
        }