21 references to GetInterval
System.Windows.Forms.DataVisualization (21)
Common\ChartTypes\PolarChart.cs (2)
149
if(area.AxisX.LabelStyle.
GetInterval
() > 0)
151
interval = area.AxisX.LabelStyle.
GetInterval
();
Common\General\Axis.cs (4)
3090
else if (this.LabelStyle.Enabled && this.LabelStyle.
GetInterval
() != 0.0)
3093
stripLine.Interval = this.LabelStyle.
GetInterval
() * 2.0;
3097
stripLine.StripWidth = this.LabelStyle.
GetInterval
();
4269
double currentInterval = (axisScaleSegment == null) ? this.labelStyle.
GetInterval
() : axisScaleSegment.Interval;
Common\General\AxisLabels.cs (14)
406
if( fromSeries && ( labelStyle.GetIntervalOffset() != 0 || labelStyle.
GetInterval
() != 0 ) )
567
start = ChartHelper.AlignIntervalStart(start, labelStyle.
GetInterval
(), labelStyle.GetIntervalType(), axisSeries);
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);
693
for (double position = start - endLabels * labelStyle.
GetInterval
(); position < viewMaximum - 1.5 * labelStyle.
GetInterval
() * (1 - endLabels); position = (double)((decimal)position + (decimal)labelStyle.
GetInterval
()))
703
labValue = (double)((decimal)position + (decimal)labelStyle.
GetInterval
());
707
double inter = Math.Log(labelStyle.
GetInterval
());
722
if( ( viewMaximum - start ) / labelStyle.
GetInterval
() > ChartHelper.MaxNumOfGridlines )
731
beginPosition = (double)((decimal)position + (decimal)labelStyle.
GetInterval
() * 0.5m);
732
endPosition = (double)((decimal)position + (decimal)labelStyle.
GetInterval
() * 1.5m);
Common\General\Label.cs (1)
1548
currentPosition += ChartHelper.GetIntervalSize(currentPosition, _axis.LabelStyle.
GetInterval
(), _axis.LabelStyle.GetIntervalType(),