2 writes to majorGrid
System.Web.DataVisualization (2)
Common\General\Axis.cs (2)
378
majorGrid
= new Grid(this, true);
693
majorGrid
= value;
70 references to majorGrid
System.Web.DataVisualization (70)
Common\ChartTypes\BarChart.cs (4)
439
if(!double.IsNaN(vAxis.
majorGrid
.GetInterval()) && vAxis.
majorGrid
.GetIntervalType() != DateTimeIntervalType.NotSet)
441
interval = ChartHelper.GetIntervalSize(vAxis.minimum, vAxis.
majorGrid
.GetInterval(), vAxis.
majorGrid
.GetIntervalType());
Common\ChartTypes\ColumnChart.cs (4)
353
if (!double.IsNaN(hAxis.
majorGrid
.GetInterval()) && hAxis.
majorGrid
.GetIntervalType() != DateTimeIntervalType.NotSet)
355
interval = ChartHelper.GetIntervalSize(hAxis.minimum, hAxis.
majorGrid
.GetInterval(), hAxis.
majorGrid
.GetIntervalType());
Common\ChartTypes\StackedBarChart.cs (4)
707
if (!double.IsNaN(vAxis.
majorGrid
.GetInterval()) && vAxis.
majorGrid
.GetIntervalType() != DateTimeIntervalType.NotSet)
709
interval = ChartHelper.GetIntervalSize(vAxis.minimum, vAxis.
majorGrid
.GetInterval(), vAxis.
majorGrid
.GetIntervalType());
Common\ChartTypes\StackedColumnChart.cs (4)
716
if (!double.IsNaN(hAxis.
majorGrid
.GetInterval()) && hAxis.
majorGrid
.GetIntervalType() != DateTimeIntervalType.NotSet)
718
interval = ChartHelper.GetIntervalSize(hAxis.minimum, hAxis.
majorGrid
.GetInterval(), hAxis.
majorGrid
.GetIntervalType());
Common\General\Axis.cs (23)
376
if (
majorGrid
== null)
379
majorGrid
.Interval = double.NaN;
380
majorGrid
.IntervalOffset = double.NaN;
381
majorGrid
.IntervalType = DateTimeIntervalType.NotSet;
382
majorGrid
.IntervalOffsetType = DateTimeIntervalType.NotSet;
689
return
majorGrid
;
694
majorGrid
.Axis = this;
695
majorGrid
.majorGridTick = true;
697
if (!
majorGrid
.intervalChanged)
698
majorGrid
.Interval = double.NaN;
699
if (!
majorGrid
.intervalOffsetChanged)
700
majorGrid
.IntervalOffset = double.NaN;
701
if (!
majorGrid
.intervalTypeChanged)
702
majorGrid
.IntervalType = DateTimeIntervalType.NotSet;
703
if (!
majorGrid
.intervalOffsetTypeChanged)
704
majorGrid
.IntervalOffsetType = DateTimeIntervalType.NotSet;
1337
majorGrid
.interval = tempMajorGridInterval;
1415
majorGrid
.intervalType = tempGridIntervalType;
2991
majorGrid
.Paint(graph);
3201
tempMajorGridInterval =
majorGrid
.interval;
3208
tempGridIntervalType =
majorGrid
.intervalType;
3309
majorGrid
.interval = tempMajorGridInterval;
3317
majorGrid
.intervalType = tempGridIntervalType;
Common\General\AxisScale.cs (9)
447
majorGrid
.intervalType = value;
479
majorGrid
.interval = value;
507
majorGrid
.interval = newInterval;
508
majorGrid
.intervalType = newIntervalType;
1168
this._intervalsStore.Push(this.
majorGrid
.intervalOffset);
1175
this.
majorGrid
.intervalOffset = Double.IsNaN(this.
majorGrid
.intervalOffset) ? offset : this.
majorGrid
.intervalOffset + offset;
1201
this.
majorGrid
.intervalOffset = this._intervalsStore.Pop();
Common\General\AxisScaleSegments.cs (12)
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);
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;
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();
Common\General\GridTickMarks.cs (10)
162
if (this.Axis.
majorGrid
.GetIntervalType() == DateTimeIntervalType.Auto)
164
this.interval = this.Axis.
majorGrid
.GetInterval() / Grid.NumberOfIntervals;
169
DateTimeIntervalType localIntervalType = this.Axis.
majorGrid
.GetIntervalType();
177
this.intervalOffsetType = this.Axis.
majorGrid
.GetIntervalOffsetType();
178
this.intervalOffset = this.Axis.
majorGrid
.GetIntervalOffset();
1283
if( this._axis.
majorGrid
.GetIntervalType() == DateTimeIntervalType.Auto )
1285
this.interval = this._axis.
majorGrid
.GetInterval() / Grid.NumberOfIntervals;
1290
DateTimeIntervalType localIntervalType = this._axis.
majorGrid
.GetIntervalType();
1298
this.intervalOffsetType = this._axis.
majorGrid
.GetIntervalOffsetType();
1299
this.intervalOffset = this._axis.
majorGrid
.GetIntervalOffset();