예제 #1
0
 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);
 }
예제 #2
0
 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();
 }
예제 #3
0
        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;
        }
예제 #4
0
        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);
        }
예제 #5
0
 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;
 }
        internal SLUpDownBars Clone()
        {
            // use the upbar as reference
            SLUpDownBars udb = new SLUpDownBars(this.UpBars.ShapeProperties.listThemeColors, false, this.UpBars.ShapeProperties.ThrowExceptionsIfAny);

            udb.iGapWidth = this.iGapWidth;
            udb.UpBars    = this.UpBars.Clone();
            udb.DownBars  = this.DownBars.Clone();

            return(udb);
        }
예제 #7
0
 private void Initialize(List <System.Drawing.Color> ThemeColors, bool IsStylish, bool ThrowExceptionsIfAny)
 {
     this.iGapWidth       = 150;
     this.byOverlap       = 0;
     this.ShapeProperties = new SLA.SLShapeProperties(ThemeColors, ThrowExceptionsIfAny);
     this.HasDropLines    = false;
     this.DropLines       = new SLDropLines(ThemeColors, IsStylish, ThrowExceptionsIfAny);
     this.HasHighLowLines = true;
     this.HighLowLines    = new SLHighLowLines(ThemeColors, IsStylish, ThrowExceptionsIfAny);
     this.HasUpDownBars   = true;
     this.UpDownBars      = new SLUpDownBars(ThemeColors, IsStylish, ThrowExceptionsIfAny);
 }
 private void Initialize(List<System.Drawing.Color> ThemeColors, bool IsStylish)
 {
     this.iGapDepth = 150;
     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);
     this.Smooth = false;
 }