/// <summary> /// Clone a new instance of SLAreaChartOptions. /// </summary> /// <returns>An SLAreaChartOptions object.</returns> public SLAreaChartOptions Clone() { var aco = new SLAreaChartOptions(); aco.HasDropLines = HasDropLines; aco.DropLines = DropLines.Clone(); aco.iGapDepth = iGapDepth; return(aco); }
/// <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); }
internal SLStockChartOptions Clone() { var sco = new SLStockChartOptions(); sco.iGapWidth = iGapWidth; sco.byOverlap = byOverlap; sco.ShapeProperties = ShapeProperties.Clone(); sco.HasDropLines = HasDropLines; sco.DropLines = DropLines.Clone(); sco.HasHighLowLines = HasHighLowLines; sco.HighLowLines = HighLowLines.Clone(); sco.HasUpDownBars = HasUpDownBars; sco.UpDownBars = UpDownBars.Clone(); return(sco); }
internal SLChartOptions Clone() { var co = new SLChartOptions(SeriesLinesShapeProperties.listThemeColors); co.BarDirection = BarDirection; co.BarGrouping = BarGrouping; co.VaryColors = VaryColors; co.iGapWidth = iGapWidth; co.iGapDepth = iGapDepth; co.byOverlap = byOverlap; co.Shape = Shape; co.Grouping = Grouping; co.ShowMarker = ShowMarker; co.Smooth = Smooth; co.iFirstSliceAngle = iFirstSliceAngle; co.byHoleSize = byHoleSize; co.HasSplit = HasSplit; co.SplitType = SplitType; co.SplitPosition = SplitPosition; co.SecondPiePoints = new List <int>(); for (var i = 0; i < SecondPiePoints.Count; ++i) { co.SecondPiePoints.Add(SecondPiePoints[i]); } co.iSecondPieSize = iSecondPieSize; co.SeriesLinesShapeProperties = SeriesLinesShapeProperties.Clone(); co.ScatterStyle = ScatterStyle; co.bWireframe = bWireframe; co.RadarStyle = RadarStyle; co.Bubble3D = Bubble3D; co.iBubbleScale = iBubbleScale; co.ShowNegativeBubbles = ShowNegativeBubbles; co.SizeRepresents = SizeRepresents; co.HasDropLines = HasDropLines; co.DropLines = DropLines.Clone(); co.HasHighLowLines = HasHighLowLines; co.HighLowLines = HighLowLines.Clone(); co.HasUpDownBars = HasUpDownBars; co.UpDownBars = UpDownBars.Clone(); return(co); }