5 writes to margin
System.Web.DataVisualization (5)
Common\General\AxisScale.cs (5)
413
margin
= 100;
415
margin
= 0;
1161
margin
= ( pointWidthSize / 2 ) * 100;
1214
margin
= marginTemp;
2076
margin
= 100;
19 references to margin
System.Web.DataVisualization (19)
Common\General\AxisLabels.cs (1)
818
if ((axisType == AxisName.X || axisType == AxisName.X2) && (
margin
!= 0 || maxPointCount == 1 || !this._autoMinimum) && !ser.IsXValueIndexed)
Common\General\AxisScale.cs (12)
405
if(
margin
> 0 )
1140
margin
!= 100.0 && !offsetTempSet &&
1146
marginTemp =
margin
;
1162
offset = (
margin
) / 100;
1163
double contraOffset = ( 100 -
margin
) / 100;
1241
if(
margin
== 0.0 && !this.roundedXValues )
1249
if(
margin
== 0.0 )
2196
- (axisInterval / 2.0) *
margin
/ 100,
2207
axisInterval *
margin
/ 100,
2213
if( autoMaximum && max > 0 &&
margin
!= 0.0 )
2217
(double)((Math.Floor(numberOfUnits / axisInterval /
margin
* 100)+2) * axisInterval *
margin
/ 100),
Common\General\ChartAreaAxes.cs (6)
704
if( axis.
margin
== 100 && (axis.axisType == AxisName.X || axis.axisType == AxisName.X2) )
1314
if( axis.
margin
== 100 )
1318
if( autoMaximum + axis.
margin
/100 == autoMinimum - axis.
margin
/100 + 1 )
1327
axis.SetAutoMaximum( autoMaximum + axis.
margin
/100 );
1328
axis.SetAutoMinimum( autoMinimum - axis.
margin
/100 + 1 );