internal SLChartOptions(List <System.Drawing.Color> ThemeColors, bool IsStylish = false) { this.BarDirection = C.BarDirectionValues.Bar; this.BarGrouping = C.BarGroupingValues.Standard; this.VaryColors = null; this.GapWidth = 150; this.GapDepth = 150; this.Overlap = 0; this.Shape = C.ShapeValues.Box; this.Grouping = C.GroupingValues.Standard; this.ShowMarker = true; this.Smooth = false; this.FirstSliceAngle = 0; this.HoleSize = 10; this.HasSplit = false; this.SplitType = C.SplitValues.Position; this.SplitPosition = 0; this.SecondPiePoints = new List <int>(); this.SecondPieSize = 75; this.SeriesLinesShapeProperties = new SLA.SLShapeProperties(ThemeColors); this.ScatterStyle = C.ScatterStyleValues.Line; this.bWireframe = null; this.RadarStyle = C.RadarStyleValues.Standard; this.Bubble3D = true; this.BubbleScale = 100; this.ShowNegativeBubbles = true; this.SizeRepresents = C.SizeRepresentsValues.Area; this.HasDropLines = false; this.DropLines = new SLDropLines(ThemeColors, IsStylish); this.HasHighLowLines = false; this.HighLowLines = new SLHighLowLines(ThemeColors, IsStylish); this.HasUpDownBars = false; this.UpDownBars = new SLUpDownBars(ThemeColors, IsStylish); }
internal void MergeOptions(SLStockChartOptions sco) { this.HasDropLines = sco.HasDropLines; this.DropLines = sco.DropLines.Clone(); this.HasHighLowLines = sco.HasHighLowLines; this.HighLowLines = sco.HighLowLines.Clone(); this.HasUpDownBars = sco.HasUpDownBars; this.UpDownBars = sco.UpDownBars.Clone(); }
internal SLUpDownBars Clone() { SLUpDownBars udb = new SLUpDownBars(new List <System.Drawing.Color>()); udb.iGapWidth = this.iGapWidth; udb.UpBars = this.UpBars.Clone(); udb.DownBars = this.DownBars.Clone(); return(udb); }
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; }
private void Initialize(List <System.Drawing.Color> ThemeColors, bool IsStylish) { this.iGapWidth = 150; this.byOverlap = 0; this.ShapeProperties = new SLA.SLShapeProperties(ThemeColors); this.HasDropLines = false; this.DropLines = new SLDropLines(ThemeColors, IsStylish); this.HasHighLowLines = true; this.HighLowLines = new SLHighLowLines(ThemeColors, IsStylish); this.HasUpDownBars = true; this.UpDownBars = new SLUpDownBars(ThemeColors, IsStylish); }