26 references to GetInterval
System.Web.DataVisualization (26)
Common\ChartTypes\BarChart.cs (2)
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 (2)
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 (2)
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 (2)
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 (7)
3070
if (this.MajorGrid.Enabled && this.MajorGrid.
GetInterval
() != 0.0)
3073
stripLine.Interval = this.MajorGrid.
GetInterval
() * 2.0;
3077
stripLine.StripWidth = this.MajorGrid.
GetInterval
();
3080
else if (this.MajorTickMark.Enabled && this.MajorTickMark.
GetInterval
() != 0.0)
3083
stripLine.Interval = this.MajorTickMark.
GetInterval
() * 2.0;
3087
stripLine.StripWidth = this.MajorTickMark.
GetInterval
();
3516
if (this.MinorTickMark.Enabled && this.MinorTickMark.TickMarkStyle != TickMarkStyle.None && this.MinorTickMark.
GetInterval
() != 0)
Common\General\ChartAreaAxes.cs (2)
1367
axis.minorGrid.intervalOffset -= axis.MajorGrid.
GetInterval
();
1368
axis.minorTickMark.intervalOffset -= axis.MajorTickMark.
GetInterval
();
Common\General\GridTickMarks.cs (9)
164
this.interval = this.Axis.majorGrid.
GetInterval
() / Grid.NumberOfIntervals;
225
current = ChartHelper.AlignIntervalStart(current, this.
GetInterval
(), this.GetIntervalType(), axisSeries, this.majorGridTick);
236
if ((Axis.ViewMaximum - Axis.ViewMinimum) / ChartHelper.GetIntervalSize(current, this.
GetInterval
(), this.GetIntervalType(), axisSeries, 0, DateTimeIntervalType.Number, true) > ChartHelper.MaxNumOfGridlines)
386
interval = ChartHelper.GetIntervalSize(current, this.
GetInterval
(), this.GetIntervalType(), axisSeries, this.GetIntervalOffset(), offsetType, true);
1285
this.interval = this._axis.majorGrid.
GetInterval
() / Grid.NumberOfIntervals;
1316
current = ChartHelper.AlignIntervalStart(current, this.
GetInterval
(), this.GetIntervalType(), axisSeries, this.majorGridTick);
1327
if( ( _axis.ViewMaximum - _axis.ViewMinimum ) / ChartHelper.GetIntervalSize( current, this.
GetInterval
(), this.GetIntervalType(), axisSeries, 0, DateTimeIntervalType.Number, true ) > ChartHelper.MaxNumOfGridlines )
1335
if( this.
GetInterval
() <= 0 )
1349
double autoInterval = this.
GetInterval
();