Пример #1
0
        internal SLChartOptions Clone()
        {
            SLChartOptions co = new SLChartOptions(this.SeriesLinesShapeProperties.listThemeColors);

            co.BarDirection     = this.BarDirection;
            co.BarGrouping      = this.BarGrouping;
            co.VaryColors       = this.VaryColors;
            co.iGapWidth        = this.iGapWidth;
            co.iGapDepth        = this.iGapDepth;
            co.byOverlap        = this.byOverlap;
            co.Shape            = this.Shape;
            co.Grouping         = this.Grouping;
            co.ShowMarker       = this.ShowMarker;
            co.Smooth           = this.Smooth;
            co.iFirstSliceAngle = this.iFirstSliceAngle;
            co.byHoleSize       = this.byHoleSize;
            co.HasSplit         = this.HasSplit;
            co.SplitType        = this.SplitType;
            co.SplitPosition    = this.SplitPosition;

            co.SecondPiePoints = new List <int>();
            for (int i = 0; i < this.SecondPiePoints.Count; ++i)
            {
                co.SecondPiePoints.Add(this.SecondPiePoints[i]);
            }

            co.iSecondPieSize             = this.iSecondPieSize;
            co.SeriesLinesShapeProperties = this.SeriesLinesShapeProperties.Clone();
            co.ScatterStyle        = this.ScatterStyle;
            co.bWireframe          = this.bWireframe;
            co.RadarStyle          = this.RadarStyle;
            co.Bubble3D            = this.Bubble3D;
            co.iBubbleScale        = this.iBubbleScale;
            co.ShowNegativeBubbles = this.ShowNegativeBubbles;
            co.SizeRepresents      = this.SizeRepresents;

            co.HasDropLines    = this.HasDropLines;
            co.DropLines       = this.DropLines.Clone();
            co.HasHighLowLines = this.HasHighLowLines;
            co.HighLowLines    = this.HighLowLines.Clone();
            co.HasUpDownBars   = this.HasUpDownBars;
            co.UpDownBars      = this.UpDownBars.Clone();

            return(co);
        }
Пример #2
0
        internal SLChartOptions Clone()
        {
            SLChartOptions co = new SLChartOptions(this.SeriesLinesShapeProperties.listThemeColors);
            co.BarDirection = this.BarDirection;
            co.BarGrouping = this.BarGrouping;
            co.VaryColors = this.VaryColors;
            co.iGapWidth = this.iGapWidth;
            co.iGapDepth = this.iGapDepth;
            co.byOverlap = this.byOverlap;
            co.Shape = this.Shape;
            co.Grouping = this.Grouping;
            co.ShowMarker = this.ShowMarker;
            co.Smooth = this.Smooth;
            co.iFirstSliceAngle = this.iFirstSliceAngle;
            co.byHoleSize = this.byHoleSize;
            co.HasSplit = this.HasSplit;
            co.SplitType = this.SplitType;
            co.SplitPosition = this.SplitPosition;

            co.SecondPiePoints = new List<int>();
            for (int i = 0; i < this.SecondPiePoints.Count; ++i)
            {
                co.SecondPiePoints.Add(this.SecondPiePoints[i]);
            }

            co.iSecondPieSize = this.iSecondPieSize;
            co.SeriesLinesShapeProperties = this.SeriesLinesShapeProperties.Clone();
            co.ScatterStyle = this.ScatterStyle;
            co.bWireframe = this.bWireframe;
            co.RadarStyle = this.RadarStyle;
            co.Bubble3D = this.Bubble3D;
            co.iBubbleScale = this.iBubbleScale;
            co.ShowNegativeBubbles = this.ShowNegativeBubbles;
            co.SizeRepresents = this.SizeRepresents;

            co.HasDropLines = this.HasDropLines;
            co.DropLines = this.DropLines.Clone();
            co.HasHighLowLines = this.HasHighLowLines;
            co.HighLowLines = this.HighLowLines.Clone();
            co.HasUpDownBars = this.HasUpDownBars;
            co.UpDownBars = this.UpDownBars.Clone();

            return co;
        }