internal void MergeOptions(SLLineChartOptions lco)
 {
     this.GapDepth        = lco.GapDepth;
     this.HasDropLines    = lco.HasDropLines;
     this.DropLines       = lco.DropLines.Clone();
     this.HasHighLowLines = lco.HasHighLowLines;
     this.HighLowLines    = lco.HighLowLines.Clone();
     this.HasUpDownBars   = lco.HasUpDownBars;
     this.UpDownBars      = lco.UpDownBars.Clone();
     this.Smooth          = lco.Smooth;
 }
Exemplo n.º 2
0
        /// <summary>
        /// Clone an instance of SLLineChartOptions.
        /// </summary>
        /// <returns>An SLLineChartOptions object.</returns>
        public SLLineChartOptions Clone()
        {
            SLLineChartOptions lco = new SLLineChartOptions();

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

            return(lco);
        }