2 writes to axis
System.Windows.Forms.DataVisualization (2)
Common\General\AxisScaleSegments.cs (2)
925
((AxisScaleSegment)value).
axis
= this._axis;
939
((AxisScaleSegment)newValue).
axis
= this._axis;
91 references to axis
System.Windows.Forms.DataVisualization (91)
Common\General\AxisScaleSegments.cs (91)
385
if( this.
axis
.ChartArea.ShadowOffset != 0 && !this.
axis
.ChartArea.ShadowColor.IsEmpty)
389
if( this.
axis
.AxisPosition == AxisPosition.Right || this.
axis
.AxisPosition == AxisPosition.Left )
391
shadowPartRect.Y += this.
axis
.ChartArea.ShadowOffset;
392
shadowPartRect.Height -= this.
axis
.ChartArea.ShadowOffset;
394
shadowPartRect.Width = this.
axis
.ChartArea.ShadowOffset + 2;
398
shadowPartRect.X += this.
axis
.ChartArea.ShadowOffset;
399
shadowPartRect.Width -= this.
axis
.ChartArea.ShadowOffset;
401
shadowPartRect.Height = this.
axis
.ChartArea.ShadowOffset + 2;
411
float size = this.
axis
.ChartArea.ShadowOffset;
412
if( this.
axis
.AxisPosition == AxisPosition.Right || this.
axis
.AxisPosition == AxisPosition.Left )
422
int transparencyStep = (int)(this.
axis
.ChartArea.ShadowColor.A / size);
426
RectangleF clipRegion = graph.GetAbsoluteRectangle(this.
axis
.PlotAreaPosition.ToRectangleF());
427
if( this.
axis
.AxisPosition == AxisPosition.Right || this.
axis
.AxisPosition == AxisPosition.Left )
429
clipRegion.X += this.
axis
.ChartArea.ShadowOffset;
430
clipRegion.Width += this.
axis
.ChartArea.ShadowOffset;
434
clipRegion.Y += this.
axis
.ChartArea.ShadowOffset;
435
clipRegion.Height += this.
axis
.ChartArea.ShadowOffset;
445
if( this.
axis
.AxisPosition == AxisPosition.Right || this.
axis
.AxisPosition == AxisPosition.Left )
458
this.
axis
.ChartArea.ShadowColor.A - transparencyStep * index,
459
this.
axis
.ChartArea.ShadowColor);
476
if(this.
axis
.ScaleBreakStyle.BreakLineStyle != BreakLineStyle.None)
478
using(Pen pen = new Pen(this.
axis
.ScaleBreakStyle.LineColor, this.
axis
.ScaleBreakStyle.LineWidth))
481
pen.DashStyle = graph.GetPenStyle(this.
axis
.ScaleBreakStyle.LineDashStyle);
510
Chart chart = this.
axis
.ChartArea.Common.Chart;
548
if(this.
axis
.ScaleBreakStyle.BreakLineStyle == BreakLineStyle.Wave)
552
if( this.
axis
.AxisPosition == AxisPosition.Right || this.
axis
.AxisPosition == AxisPosition.Left )
599
else if(this.
axis
.ScaleBreakStyle.BreakLineStyle == BreakLineStyle.Ragged)
603
if( this.
axis
.AxisPosition == AxisPosition.Right || this.
axis
.AxisPosition == AxisPosition.Left )
654
if( this.
axis
.AxisPosition == AxisPosition.Right || this.
axis
.AxisPosition == AxisPosition.Left )
690
RectangleF breakPosition = this.
axis
.PlotAreaPosition.ToRectangleF();
693
double from = this.
axis
.GetLinearPosition(nextSegment.ScaleMinimum);
694
double to = this.
axis
.GetLinearPosition(this.ScaleMaximum);
695
if( this.
axis
.AxisPosition == AxisPosition.Right || this.
axis
.AxisPosition == AxisPosition.Left )
710
if( this.
axis
.AxisPosition == AxisPosition.Right || this.
axis
.AxisPosition == AxisPosition.Left )
713
breakPosition.X -= this.
axis
.ChartArea.BorderWidth;
714
breakPosition.Width += 2 * this.
axis
.ChartArea.BorderWidth;
719
breakPosition.Y -= this.
axis
.ChartArea.BorderWidth;
720
breakPosition.Height += 2 * this.
axis
.ChartArea.BorderWidth;
751
_oldAxisSettings.Push(this.
axis
.maximum);
752
_oldAxisSettings.Push(this.
axis
.minimum);
754
_oldAxisSettings.Push(this.
axis
.majorGrid.interval);
755
_oldAxisSettings.Push(this.
axis
.majorGrid.intervalType);
756
_oldAxisSettings.Push(this.
axis
.majorGrid.intervalOffset);
757
_oldAxisSettings.Push(this.
axis
.majorGrid.intervalOffsetType);
759
_oldAxisSettings.Push(this.
axis
.majorTickMark.interval);
760
_oldAxisSettings.Push(this.
axis
.majorTickMark.intervalType);
761
_oldAxisSettings.Push(this.
axis
.majorTickMark.intervalOffset);
762
_oldAxisSettings.Push(this.
axis
.majorTickMark.intervalOffsetType);
764
_oldAxisSettings.Push(this.
axis
.LabelStyle.interval);
765
_oldAxisSettings.Push(this.
axis
.LabelStyle.intervalType);
766
_oldAxisSettings.Push(this.
axis
.LabelStyle.intervalOffset);
767
_oldAxisSettings.Push(this.
axis
.LabelStyle.intervalOffsetType);
771
this.
axis
.maximum = this.ScaleMaximum;
772
this.
axis
.minimum = this.ScaleMinimum;
774
this.
axis
.majorGrid.interval = this.Interval;
775
this.
axis
.majorGrid.intervalType = this.IntervalType;
776
this.
axis
.majorGrid.intervalOffset = this.IntervalOffset;
777
this.
axis
.majorGrid.intervalOffsetType = this.IntervalOffsetType;
779
this.
axis
.majorTickMark.interval = this.Interval;
780
this.
axis
.majorTickMark.intervalType = this.IntervalType;
781
this.
axis
.majorTickMark.intervalOffset = this.IntervalOffset;
782
this.
axis
.majorTickMark.intervalOffsetType = this.IntervalOffsetType;
784
this.
axis
.LabelStyle.interval = this.Interval;
785
this.
axis
.LabelStyle.intervalType = this.IntervalType;
786
this.
axis
.LabelStyle.intervalOffset = this.IntervalOffset;
787
this.
axis
.LabelStyle.intervalOffsetType = this.IntervalOffsetType;
797
this.
axis
.LabelStyle.intervalOffsetType = (DateTimeIntervalType)_oldAxisSettings.Pop();
798
this.
axis
.LabelStyle.intervalOffset = (double)_oldAxisSettings.Pop();
799
this.
axis
.LabelStyle.intervalType = (DateTimeIntervalType)_oldAxisSettings.Pop();
800
this.
axis
.LabelStyle.interval = (double)_oldAxisSettings.Pop();
802
this.
axis
.majorTickMark.intervalOffsetType = (DateTimeIntervalType)_oldAxisSettings.Pop();
803
this.
axis
.majorTickMark.intervalOffset = (double)_oldAxisSettings.Pop();
804
this.
axis
.majorTickMark.intervalType = (DateTimeIntervalType)_oldAxisSettings.Pop();
805
this.
axis
.majorTickMark.interval = (double)_oldAxisSettings.Pop();
807
this.
axis
.majorGrid.intervalOffsetType = (DateTimeIntervalType)_oldAxisSettings.Pop();
808
this.
axis
.majorGrid.intervalOffset = (double)_oldAxisSettings.Pop();
809
this.
axis
.majorGrid.intervalType = (DateTimeIntervalType)_oldAxisSettings.Pop();
810
this.
axis
.majorGrid.interval = (double)_oldAxisSettings.Pop();
812
this.
axis
.minimum = (double)_oldAxisSettings.Pop();
813
this.
axis
.maximum = (double)_oldAxisSettings.Pop();