2 writes to _axis
System.Web.DataVisualization (2)
Common\General\GridTickMarks.cs (2)
1194
this.
_axis
= axis;
2041
set {
_axis
= value; }
103 references to _axis
System.Web.DataVisualization (103)
Common\General\GridTickMarks.cs (103)
1136
this.
_axis
== null &&
1145
if(this.
_axis
== null)
1213
return
_axis
;
1246
if(
_axis
.IsCustomGridLines())
1257
if(
_axis
.axisType == AxisName.X ||
_axis
.axisType == AxisName.X2)
1259
List<string> seriesArray =
_axis
.ChartArea.GetXAxesSeries((
_axis
.axisType == AxisName.X) ? AxisType.Primary : AxisType.Secondary,
_axis
.SubAxisName);
1262
axisSeries =
_axis
.Common.DataManager.Series[seriesArray[0]];
1283
if( this.
_axis
.majorGrid.GetIntervalType() == DateTimeIntervalType.Auto )
1285
this.interval = this.
_axis
.majorGrid.GetInterval() / Grid.NumberOfIntervals;
1290
DateTimeIntervalType localIntervalType = this.
_axis
.majorGrid.GetIntervalType();
1291
this.interval =
_axis
.CalcInterval(
1292
this.
_axis
.minimum,
1293
this.
_axis
.minimum + (this.
_axis
.maximum - this.
_axis
.minimum) / Grid.NumberOfDateTimeIntervals,
1298
this.intervalOffsetType = this.
_axis
.majorGrid.GetIntervalOffsetType();
1299
this.intervalOffset = this.
_axis
.majorGrid.GetIntervalOffset();
1304
current =
_axis
.ViewMinimum;
1312
if(!
_axis
.ChartArea.chartAreaIsCurcular ||
1313
_axis
.axisType == AxisName.Y ||
1314
_axis
.axisType == AxisName.Y2 )
1327
if( (
_axis
.ViewMaximum -
_axis
.ViewMinimum ) / ChartHelper.GetIntervalSize( current, this.GetInterval(), this.GetIntervalType(), axisSeries, 0, DateTimeIntervalType.Number, true ) > ChartHelper.MaxNumOfGridlines )
1332
if(
_axis
.ViewMaximum <=
_axis
.ViewMinimum )
1342
decimal viewMaximum = (decimal)
_axis
.ViewMaximum;
1347
if( this.majorGridTick || this.
_axis
.IsLogarithmic == false )
1360
if((decimal)current >= (decimal)
_axis
.ViewMinimum)
1387
double logInterval = Math.Log( 1 + this.interval * logStep,
_axis
.logarithmBase );
1409
if( (decimal)current >= (decimal)
_axis
.ViewMinimum && (decimal)current <= (decimal)
_axis
.ViewMaximum )
1442
double viewMinimum =
_axis
.ViewMinimum;
1461
CommonElements common = this.
_axis
.Common;
1467
plotArea =
_axis
.PlotAreaPosition.ToRectangleF();
1470
if(
_axis
.AxisPosition == AxisPosition.Left ||
_axis
.AxisPosition == AxisPosition.Right )
1474
first.Y = (float)
_axis
.GetLinearPosition( current );
1479
if(
_axis
.AxisPosition == AxisPosition.Top ||
_axis
.AxisPosition == AxisPosition.Bottom )
1483
first.X = (float)
_axis
.GetLinearPosition( current );
1489
if( this.
_axis
.ChartArea.Area3DStyle.Enable3D && !this.
_axis
.ChartArea.chartAreaIsCurcular)
1492
graph.Draw3DGridLine(this.
_axis
.ChartArea, borderColor, borderWidth, borderDashStyle, first, second, (
_axis
.AxisPosition == AxisPosition.Left ||
_axis
.AxisPosition == AxisPosition.Right ), common, this );
1494
else if(!this.
_axis
.ChartArea.chartAreaIsCurcular)
1519
if(
_axis
.ChartArea.chartAreaIsCurcular)
1521
if(
_axis
.axisType == AxisName.Y)
1523
_axis
.DrawCircularLine( this, graph, borderColor, borderWidth, borderDashStyle, first.Y );
1525
if(
_axis
.axisType == AxisName.X)
1527
ICircularChartType chartType = this.
_axis
.ChartArea.GetCircularChartType();
1530
_axis
.DrawRadialLine( this, graph, borderColor, borderWidth, borderDashStyle, current );
1534
else if(!this.
_axis
.ChartArea.Area3DStyle.Enable3D || this.
_axis
.ChartArea.chartAreaIsCurcular)
1540
graph.Draw3DGridLine( this.
_axis
.ChartArea, borderColor, borderWidth, borderDashStyle, first, second, (
_axis
.AxisPosition == AxisPosition.Left ||
_axis
.AxisPosition == AxisPosition.Right ),
_axis
.Common, this );
1552
CommonElements common = this.
_axis
.Common;
1556
RectangleF plotArea =
_axis
.PlotAreaPosition.ToRectangleF(); // Plot area position
1560
foreach(CustomLabel label in
_axis
.CustomLabels)
1565
if(position >=
_axis
.ViewMinimum && position <=
_axis
.ViewMaximum)
1568
if(
_axis
.AxisPosition == AxisPosition.Left ||
_axis
.AxisPosition == AxisPosition.Right )
1572
first.Y = (float)
_axis
.GetLinearPosition( position );
1578
if(
_axis
.AxisPosition == AxisPosition.Top ||
_axis
.AxisPosition == AxisPosition.Bottom )
1582
first.X = (float)
_axis
.GetLinearPosition( position );
1588
if( !this.
_axis
.ChartArea.Area3DStyle.Enable3D || this.
_axis
.ChartArea.chartAreaIsCurcular )
1611
graph.Draw3DGridLine(this.
_axis
.ChartArea, borderColor, borderWidth, borderDashStyle, first, second, (
_axis
.AxisPosition == AxisPosition.Left ||
_axis
.AxisPosition == AxisPosition.Right ), common, this );
1617
if(!this.
_axis
.ChartArea.Area3DStyle.Enable3D || this.
_axis
.ChartArea.chartAreaIsCurcular)
1623
graph.Draw3DGridLine(this.
_axis
.ChartArea, borderColor, borderWidth, borderDashStyle, first, second, (
_axis
.AxisPosition == AxisPosition.Left ||
_axis
.AxisPosition == AxisPosition.Right ),
_axis
.Common, this );
1681
if(this.majorGridTick && double.IsNaN(intervalOffset) && this.
_axis
!= null)
1684
return this.
_axis
.IntervalOffset;
1735
if(this.majorGridTick && intervalOffsetType == DateTimeIntervalType.NotSet && this.
_axis
!= null)
1737
return this.
_axis
.IntervalOffsetType;
1774
if (this.
_axis
!= null)
1776
if (this.
_axis
.Chart != null && this.
_axis
.Chart.serializing != false)
1784
if (this.
_axis
!= null)
1790
this.
_axis
.tempMajorTickMarkInterval = interval;
1794
this.
_axis
.tempMinorTickMarkInterval = interval;
1801
this.
_axis
.tempMajorGridInterval = interval;
1805
this.
_axis
.tempMinorGridInterval = interval;
1834
if(this.majorGridTick && double.IsNaN(interval) && this.
_axis
!= null)
1836
return this.
_axis
.Interval;
1865
if (this.
_axis
!= null)
1869
this.
_axis
.tempTickMarkIntervalType = intervalType;
1873
this.
_axis
.tempGridIntervalType = intervalType;
1901
if(this.majorGridTick && intervalType == DateTimeIntervalType.NotSet && this.
_axis
!= null)
1904
return this.
_axis
.IntervalType;
2040
get { return
_axis
; }