protected override void CreateObjects() { base.CreateObjects(); this.m_Fill = new PlotFill(); base.AddSubClass(this.Fill); this.I_Fill = this.Fill; }
protected override void CreateObjects() { base.CreateObjects(); this.m_Fill = new PlotFill(); base.AddSubClass(this.Fill); this.I_Fill = this.Fill; ((ISubClassBase)this.Fill.Brush).ColorAmbientSource = AmbientColorSouce.Color; }
protected override void CreateObjects() { base.CreateObjects(); this.m_ZoomBoxAxes = new PlotLayoutBaseCollection(); this.m_FillInside = new PlotFillGrid(); base.AddSubClass(this.FillInside); this.m_FillOutside = new PlotFill(); base.AddSubClass(this.FillOutside); ((ISubClassBase)this.FillInside.Pen).ColorAmbientSource = AmbientColorSouce.CustomColor1; }
protected override void CreateObjects() { base.CreateObjects(); this.m_TextLayout = new TextLayoutFull(); base.AddSubClass(this.TextLayout); this.I_TextLayout = this.TextLayout; this.m_Fill = new PlotFill(); base.AddSubClass(this.Fill); this.I_Fill = this.Fill; }
protected override void Draw(PaintArgs p, PlotXAxis xAxis, PlotYAxis yAxis) { for (int i = this.IndexDrawStart; i <= this.IndexDrawStop; i++) { PlotDataPointCandlestick1 plotDataPointCandlestick = this[i]; if (!plotDataPointCandlestick.Empty && !plotDataPointCandlestick.Null) { double x = plotDataPointCandlestick.X; this.DrawBlock(p, xAxis, yAxis, this.FillShadow, x, plotDataPointCandlestick.High, plotDataPointCandlestick.Low, this.WidthStyleShadow, this.WidthShadow); PlotFill fill = (!(plotDataPointCandlestick.Close >= plotDataPointCandlestick.Open)) ? this.FillBodyBearish : this.FillBodyBullish; this.DrawBlock(p, xAxis, yAxis, fill, x, plotDataPointCandlestick.Open, plotDataPointCandlestick.Close, this.WidthStyleBody, this.WidthBody); } } }
protected override void CreateObjects() { base.CreateObjects(); this.m_DataFill = new PlotFill(); base.AddSubClass(this.DataFill); this.I_DataFill = this.DataFill; this.m_TitleFill = new PlotFill(); base.AddSubClass(this.TitleFill); this.I_TitleFill = this.TitleFill; this.m_DataLayout = new TextLayoutHorizontal(); base.AddSubClass(this.DataLayout); this.I_DataLayout = this.DataLayout; this.m_TitleLayout = new TextLayoutHorizontal(); base.AddSubClass(this.TitleLayout); this.I_TitleLayout = this.TitleLayout; }
protected override void CreateObjects() { base.CreateObjects(); this.m_Trace = new PlotPen(); base.AddSubClass(this.Trace); this.I_Trace = this.Trace; this.m_Fill = new PlotFill(); base.AddSubClass(this.Fill); this.I_Fill = this.Fill; this.m_Markers = new PlotMarker(); base.AddSubClass(this.Markers); this.I_Markers = this.Markers; ((ISubClassBase)this.Trace).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.Fill.Pen).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.Fill.Brush).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.Markers.Fill.Pen).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.Markers.Fill.Brush).ColorAmbientSource = AmbientColorSouce.Color; }
protected override void CreateObjects() { base.CreateObjects(); this.m_FillBodyBullish = new PlotFill(); base.AddSubClass(this.FillBodyBullish); this.I_FillBodyBullish = this.FillBodyBullish; this.m_FillBodyBearish = new PlotFill(); base.AddSubClass(this.FillBodyBearish); this.I_FillBodyBearish = this.FillBodyBearish; this.m_FillShadow = new PlotFill(); base.AddSubClass(this.FillShadow); this.I_FillShadow = this.FillShadow; ((ISubClassBase)this.FillBodyBullish.Pen).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillBodyBullish.Brush).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillBodyBearish.Pen).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillBodyBearish.Brush).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillShadow.Pen).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillShadow.Brush).ColorAmbientSource = AmbientColorSouce.Color; }
protected override void CreateObjects() { base.CreateObjects(); this.m_FillBody = new PlotFill(); base.AddSubClass(this.FillBody); this.I_FillBody = this.FillBody; this.m_FillOpen = new PlotFill(); base.AddSubClass(this.FillOpen); this.I_FillOpen = this.FillOpen; this.m_FillClose = new PlotFill(); base.AddSubClass(this.FillClose); this.I_FillClose = this.FillClose; ((ISubClassBase)this.FillBody.Pen).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillBody.Brush).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillOpen.Pen).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillOpen.Brush).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillClose.Pen).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillClose.Brush).ColorAmbientSource = AmbientColorSouce.Color; }
protected override void CreateObjects() { base.CreateObjects(); this.m_FillMinMax = new PlotFill(); base.AddSubClass(this.FillMinMax); this.I_FillMinMax = this.FillMinMax; this.m_FillStdDev = new PlotFill(); base.AddSubClass(this.FillStdDev); this.I_FillStdDev = this.FillStdDev; this.m_FillMean = new PlotFill(); base.AddSubClass(this.FillMean); this.I_FillMean = this.FillMean; ((ISubClassBase)this.FillMinMax.Pen).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillMinMax.Brush).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillStdDev.Pen).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillStdDev.Brush).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillMean.Pen).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillMean.Brush).ColorAmbientSource = AmbientColorSouce.Color; }
protected override void CreateObjects() { base.CreateObjects(); this.m_FillHigh = new PlotFill(); base.AddSubClass(this.FillHigh); this.I_FillHigh = this.FillHigh; this.m_FillLow = new PlotFill(); base.AddSubClass(this.FillLow); this.I_FillLow = this.FillLow; this.m_Markers = new PlotMarker(); base.AddSubClass(this.Markers); this.I_Markers = this.Markers; this.m_Trace = new PlotPen(); base.AddSubClass(this.Trace); this.I_Trace = this.Trace; ((ISubClassBase)this.Trace).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillHigh.Pen).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillHigh.Brush).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillLow.Pen).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.FillLow.Brush).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.Markers.Fill.Pen).ColorAmbientSource = AmbientColorSouce.Color; ((ISubClassBase)this.Markers.Fill.Brush).ColorAmbientSource = AmbientColorSouce.Color; this.m_TraceFastDraw = new PlotTraceFastDraw(); }