14 references to GetIntervalSize
System.Windows.Forms.DataVisualization (14)
Common\General\AxisLabels.cs (4)
590
if ((viewMaximum - start) / ChartHelper.
GetIntervalSize
(start, labelStyle.GetInterval(), labelStyle.GetIntervalType(), axisSeries, 0, DateTimeIntervalType.Number, true) > ChartHelper.MaxNumOfGridlines)
594
double endLabelMaxPosition = viewMaximum - ChartHelper.
GetIntervalSize
(viewMaximum, labelStyle.GetInterval(), labelStyle.GetIntervalType(), axisSeries, labelStyle.GetIntervalOffset(), offsetType, true) / 2f;
595
double endLabelMinPosition = viewMinimum + ChartHelper.
GetIntervalSize
(viewMinimum, labelStyle.GetInterval(), labelStyle.GetIntervalType(), axisSeries, labelStyle.GetIntervalOffset(), offsetType, true) / 2f;
598
dateInterval = ChartHelper.
GetIntervalSize
(position, labelStyle.GetInterval(), labelStyle.GetIntervalType(), axisSeries, labelStyle.GetIntervalOffset(), offsetType, true);
Common\General\GridTickMarks.cs (4)
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);
1327
if( ( _axis.ViewMaximum - _axis.ViewMinimum ) / ChartHelper.
GetIntervalSize
( current, this.GetInterval(), this.GetIntervalType(), axisSeries, 0, DateTimeIntervalType.Number, true ) > ChartHelper.MaxNumOfGridlines )
1351
gridInterval = ChartHelper.
GetIntervalSize
(current, autoInterval, this.GetIntervalType(), axisSeries, this.GetIntervalOffset(), offsetType, true);
Common\General\Label.cs (1)
1548
currentPosition += ChartHelper.
GetIntervalSize
(currentPosition, _axis.LabelStyle.GetInterval(), _axis.LabelStyle.GetIntervalType(),
Common\General\StripLine.cs (5)
306
if( ( Axis.ViewMaximum - Axis.ViewMinimum ) / ChartHelper.
GetIntervalSize
(currentPosition, this._interval, this._intervalType, axisSeries, 0, DateTimeIntervalType.Number, false) > ChartHelper.MaxNumOfGridlines)
335
currentPosition += ChartHelper.
GetIntervalSize
(currentPosition, this.IntervalOffset,
340
currentPosition -= ChartHelper.
GetIntervalSize
(currentPosition, -this.IntervalOffset,
358
double stripRightPosition = currentPosition + ChartHelper.
GetIntervalSize
(currentPosition, this.StripWidth, this.StripWidthType, axisSeries, this.IntervalOffset, offsetType, false);
510
currentPosition += ChartHelper.
GetIntervalSize
(currentPosition, this.Interval, this.IntervalType, axisSeries, this.IntervalOffset, offsetType, false);