Beispiel #1
0
 internal void MergeOptions(SLLineChartOptions lco)
 {
     GapDepth        = lco.GapDepth;
     HasDropLines    = lco.HasDropLines;
     DropLines       = lco.DropLines.Clone();
     HasHighLowLines = lco.HasHighLowLines;
     HighLowLines    = lco.HighLowLines.Clone();
     HasUpDownBars   = lco.HasUpDownBars;
     UpDownBars      = lco.UpDownBars.Clone();
     Smooth          = lco.Smooth;
 }
        /// <summary>
        ///     Clone an instance of SLLineChartOptions.
        /// </summary>
        /// <returns>An SLLineChartOptions object.</returns>
        public SLLineChartOptions Clone()
        {
            var lco = new SLLineChartOptions();

            lco.iGapDepth       = iGapDepth;
            lco.HasDropLines    = HasDropLines;
            lco.DropLines       = DropLines.Clone();
            lco.HasHighLowLines = HasHighLowLines;
            lco.HighLowLines    = HighLowLines.Clone();
            lco.HasUpDownBars   = HasUpDownBars;
            lco.UpDownBars      = UpDownBars.Clone();
            lco.Smooth          = Smooth;

            return(lco);
        }