5 writes to labelNearOffset
System.Windows.Forms.DataVisualization (5)
Common\General\Axis.cs (5)
5631
labelNearOffset
= float.MaxValue;
5779
labelNearOffset
= (float)Math.Min(labelNearOffset, (fromPosition + toPosition) / 2f - axisLabelSize.Width / 2f);
5795
labelNearOffset
= (float)Math.Min(labelNearOffset, (fromPosition + toPosition) / 2f - width * 1.1f);
5808
labelNearOffset
= (float)Math.Min(labelNearOffset, (fromPosition + toPosition) / 2f - axisLabelSize.Height / 2f);
5823
labelNearOffset
= (float)Math.Min(labelNearOffset, (fromPosition + toPosition) / 2f - height * 1.1f);
20 references to labelNearOffset
System.Windows.Forms.DataVisualization (20)
Common\General\Axis.cs (4)
5779
labelNearOffset = (float)Math.Min(
labelNearOffset
, (fromPosition + toPosition) / 2f - axisLabelSize.Width / 2f);
5795
labelNearOffset = (float)Math.Min(
labelNearOffset
, (fromPosition + toPosition) / 2f - width * 1.1f);
5808
labelNearOffset = (float)Math.Min(
labelNearOffset
, (fromPosition + toPosition) / 2f - axisLabelSize.Height / 2f);
5823
labelNearOffset = (float)Math.Min(
labelNearOffset
, (fromPosition + toPosition) / 2f - height * 1.1f);
Common\General\ChartArea.cs (16)
1705
if (axis.
labelNearOffset
!= 0 && axis.
labelNearOffset
< Position.X)
1707
float offset = Position.X - axis.
labelNearOffset
;
1733
if (axis.
labelNearOffset
!= 0 && axis.
labelNearOffset
< Position.Y)
1735
float offset = Position.Y - axis.
labelNearOffset
;
1918
axis.
labelNearOffset
!= 0 &&
1919
axis.
labelNearOffset
< PlotAreaPosition.X)
1965
leftAxis.
labelNearOffset
!= 0 &&
1966
leftAxis.
labelNearOffset
< labelsPosition &&
1967
axis.
labelNearOffset
!= 0 &&
1968
axis.
labelNearOffset
< PlotAreaPosition.X)
1970
float overlap = (float)(labelsPosition - leftAxis.
labelNearOffset
) * 0.75f;
1981
rightAxis.
labelNearOffset
!= 0 &&
1982
rightAxis.
labelNearOffset
< labelsPosition &&
1986
float overlap = (float)(labelsPosition - rightAxis.
labelNearOffset
) * 0.75f;