238 references to AxisName
System.Windows.Forms.DataVisualization (238)
Common\Annotation\AnnotationBase.cs (13)
3316
switch ((
AxisName
)Enum.Parse(typeof(
AxisName
), axisType))
3318
case (
AxisName
.X):
3321
case (
AxisName
.Y):
3324
case (
AxisName
.X2):
3327
case (
AxisName
.Y2):
4173
private Axis GetDataPointAxis(DataPoint dataPoint,
AxisName
axisName)
4181
if ((axisName ==
AxisName
.X || axisName ==
AxisName
.X2) &&
4232
horizAxis = GetDataPointAxis(this.AnchorDataPoint,
AxisName
.X);
4237
horizAxis = GetDataPointAxis(this.AnchorDataPoint,
AxisName
.Y);
4242
vertAxis = GetDataPointAxis(this.AnchorDataPoint,
AxisName
.Y);
4247
vertAxis = GetDataPointAxis(this.AnchorDataPoint,
AxisName
.X);
Common\ChartTypes\BarChart.cs (7)
413
Axis vAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
418
Axis hAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
1176
Axis yAxis = area.GetAxis(
AxisName
.Y, series.YAxisType, series.YSubAxisName);
1398
Axis vAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
1399
Axis hAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
1618
Axis vAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
1619
Axis hAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
Common\ChartTypes\BoxPlotChart.cs (4)
272
hAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
273
vAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
1077
hAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
1078
vAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
Common\ChartTypes\ColumnChart.cs (4)
327
Axis vAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
328
Axis hAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
723
Axis vAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
724
Axis hAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
Common\ChartTypes\ErrorBarChart.cs (4)
319
hAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
320
vAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
1104
hAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
1105
vAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
Common\ChartTypes\FastLineChart.cs (2)
273
Axis hAxis = area.GetAxis(
AxisName
.X, series.XAxisType, (area.Area3DStyle.Enable3D) ? string.Empty : series.XSubAxisName);
274
Axis vAxis = area.GetAxis(
AxisName
.Y, series.YAxisType, (area.Area3DStyle.Enable3D) ? string.Empty : series.YSubAxisName);
Common\ChartTypes\FastPointChart.cs (2)
273
Axis hAxis = area.GetAxis(
AxisName
.X, series.XAxisType, (area.Area3DStyle.Enable3D) ? string.Empty : series.XSubAxisName);
274
Axis vAxis = area.GetAxis(
AxisName
.Y, series.YAxisType, (area.Area3DStyle.Enable3D) ? string.Empty : series.YSubAxisName);
Common\ChartTypes\KagiChart.cs (2)
161
Axis xAxis = area.GetAxis(
AxisName
.X, series.XAxisType, series.XSubAxisName);
261
Axis xAxis = area.GetAxis(
AxisName
.X, kagiSeries.XAxisType, kagiSeries.XSubAxisName);
Common\ChartTypes\LineChart.cs (4)
390
HAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
391
VAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
1335
HAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
1336
VAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
Common\ChartTypes\PointAndFigureChart.cs (4)
185
Axis xAxis = area.GetAxis(
AxisName
.X, series.XAxisType, series.XSubAxisName);
296
Axis xAxis = area.GetAxis(
AxisName
.X, pointAndFigureSeries.XAxisType, pointAndFigureSeries.XSubAxisName);
736
Axis axisX = chartArea.GetAxis(
AxisName
.X, pointAndFigureSeries.XAxisType, pointAndFigureSeries.XSubAxisName);
737
Axis axisY = chartArea.GetAxis(
AxisName
.Y, pointAndFigureSeries.YAxisType, pointAndFigureSeries.YSubAxisName);
Common\ChartTypes\PointChart.cs (7)
348
HAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
349
VAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
1115
HAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
1116
VAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
1512
Axis yAxis = area.GetAxis(
AxisName
.Y, series.YAxisType, series.YSubAxisName);
1648
Axis hAxis = area.GetAxis(
AxisName
.X, series.XAxisType, series.XSubAxisName);
1649
Axis vAxis = area.GetAxis(
AxisName
.Y, series.YAxisType, series.YSubAxisName);
Common\ChartTypes\RadarChart.cs (2)
398
Axis vAxis = area.GetAxis(
AxisName
.Y, AxisType.Primary, ser.YSubAxisName);
1409
Axis yAxis = area.GetAxis(
AxisName
.Y, series.YAxisType, series.YSubAxisName);
Common\ChartTypes\RangeChart.cs (1)
1600
Axis vAxis = area.GetAxis(
AxisName
.Y, firstPoint.dataPoint.series.YAxisType, firstPoint.dataPoint.series.YSubAxisName);
Common\ChartTypes\RenkoChart.cs (2)
166
Axis xAxis = area.GetAxis(
AxisName
.X, series.XAxisType, series.XSubAxisName);
269
Axis xAxis = area.GetAxis(
AxisName
.X, renkoSeries.XAxisType, renkoSeries.XSubAxisName);
Common\ChartTypes\StackedAreaChart.cs (10)
213
Axis vAxis = area.GetAxis(
AxisName
.Y, series.YAxisType, series.YSubAxisName);
488
HAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
489
VAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
815
HAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
816
VAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
921
HAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
922
VAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
1307
Axis vAxis = area.GetAxis(
AxisName
.Y, firstPoint.dataPoint.series.YAxisType, firstPoint.dataPoint.series.YSubAxisName);
1308
Axis hAxis = area.GetAxis(
AxisName
.X, firstPoint.dataPoint.series.XAxisType, firstPoint.dataPoint.series.XSubAxisName);
1590
Axis vAxis = area.GetAxis(
AxisName
.Y, series.YAxisType, series.YSubAxisName);
Common\ChartTypes\StackedBarChart.cs (8)
207
Axis vAxis = area.GetAxis(
AxisName
.Y, series.YAxisType, series.YSubAxisName);
688
Axis vAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
689
Axis hAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
1260
Axis vAxis = area.GetAxis(
AxisName
.Y, series.YAxisType, series.YSubAxisName);
1405
Axis vAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
1406
Axis hAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
1702
Axis vAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
1703
Axis hAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
Common\ChartTypes\StackedColumnChart.cs (8)
202
Axis vAxis = area.GetAxis(
AxisName
.Y, series.YAxisType, series.YSubAxisName);
697
Axis vAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
698
Axis hAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
1303
Axis vAxis = area.GetAxis(
AxisName
.Y, series.YAxisType, series.YSubAxisName);
1446
Axis vAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
1447
Axis hAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
1738
Axis vAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
1739
Axis hAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
Common\ChartTypes\StockChart.cs (6)
349
HAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
350
VAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
1153
HAxis = area.GetAxis(
AxisName
.X, ser.XAxisType, ser.XSubAxisName);
1154
VAxis = area.GetAxis(
AxisName
.Y, ser.YAxisType, ser.YSubAxisName);
1815
Axis hAxis = area.GetAxis(
AxisName
.X, series.XAxisType, series.XSubAxisName);
1816
Axis vAxis = area.GetAxis(
AxisName
.Y, series.YAxisType, series.YSubAxisName);
Common\ChartTypes\ThreeLineBreakChart.cs (2)
167
Axis xAxis = area.GetAxis(
AxisName
.X, series.XAxisType, series.XSubAxisName);
271
Axis xAxis = area.GetAxis(
AxisName
.X, threeLineBreakSeries.XAxisType, threeLineBreakSeries.XSubAxisName);
Common\DataManager\DataSeries.cs (1)
1697
Axis axisY = this.Chart.ChartAreas[this.ChartArea].GetAxis(
AxisName
.Y, this.YAxisType, this.YSubAxisName);
Common\General\Axis.cs (27)
312
: base(null, GetName(
AxisName
.X))
314
Initialize(
AxisName
.X);
322
public Axis(ChartArea chartArea,
AxisName
axisTypeName)
332
private void Initialize(
AxisName
axisTypeName)
425
internal void Initialize(ChartArea chartArea,
AxisName
axisTypeName)
435
internal static string GetName(
AxisName
axisName)
442
case (
AxisName
.X):
444
case (
AxisName
.Y):
446
case (
AxisName
.X2):
448
case (
AxisName
.Y2):
636
virtual public
AxisName
AxisName
1545
if (this.axisType ==
AxisName
.Y && enabled != false)
1608
if (this.axisType ==
AxisName
.X && enabled != false)
3439
if (this.axisType ==
AxisName
.X || this.axisType ==
AxisName
.X2)
4237
if(this.axisType ==
AxisName
.X || this.axisType ==
AxisName
.X2)
6076
if (this.axisType ==
AxisName
.X && series.XAxisType == AxisType.Primary)
6085
else if (this.axisType ==
AxisName
.X2 && series.XAxisType == AxisType.Secondary)
6094
else if (this.axisType ==
AxisName
.Y && series.YAxisType == AxisType.Primary)
6103
else if (this.axisType ==
AxisName
.Y2 && series.YAxisType == AxisType.Secondary)
6117
if (this.axisType ==
AxisName
.X || this.axisType ==
AxisName
.X2)
6121
else if (this.axisType ==
AxisName
.Y || this.axisType ==
AxisName
.Y2)
6378
if (axisType ==
AxisName
.X || axisType ==
AxisName
.Y)
Common\General\AxisLabels.cs (28)
176
if (this.axisType ==
AxisName
.X || this.axisType ==
AxisName
.Y)
198
if (this.axisType ==
AxisName
.X || this.axisType ==
AxisName
.X2)
249
this.axisType ==
AxisName
.Y ||
250
this.axisType ==
AxisName
.Y2
292
if(this.axisType !=
AxisName
.Y)
341
case
AxisName
.X:
344
case
AxisName
.Y:
347
case
AxisName
.X2:
350
case
AxisName
.Y2:
390
else if( axisType ==
AxisName
.Y || axisType ==
AxisName
.Y2 )
413
if( axisType ==
AxisName
.X || axisType ==
AxisName
.X2 )
513
if( axisType ==
AxisName
.X || axisType ==
AxisName
.X2 )
540
if(axisType ==
AxisName
.X || axisType ==
AxisName
.X2)
542
List<string> seriesArray = ChartArea.GetXAxesSeries((axisType ==
AxisName
.X) ? AxisType.Primary : AxisType.Secondary, ((Axis)this).SubAxisName);
564
this.axisType ==
AxisName
.Y ||
565
this.axisType ==
AxisName
.Y2 )
818
if ((axisType ==
AxisName
.X || axisType ==
AxisName
.X2) && (margin != 0 || maxPointCount == 1 || !this._autoMinimum) && !ser.IsXValueIndexed)
883
if( axisType ==
AxisName
.Y || axisType ==
AxisName
.Y2 )
888
if( !(( axisType ==
AxisName
.X && series.XAxisType == AxisType.Primary ) || ( axisType ==
AxisName
.X2 && series.XAxisType == AxisType.Secondary )) )
Common\General\AxisScale.cs (20)
190
internal
AxisName
axisType =
AxisName
.X;
1239
if( axisType ==
AxisName
.X || axisType ==
AxisName
.X2 )
1604
if( axisType ==
AxisName
.X )
1618
else if( axisType ==
AxisName
.X2 )
1632
else if( axisType ==
AxisName
.Y )
1646
else if( axisType ==
AxisName
.Y2 )
1754
case
AxisName
.X:
1766
case
AxisName
.X2:
1778
case
AxisName
.Y:
1790
case
AxisName
.Y2:
2188
if( axisType ==
AxisName
.Y || axisType ==
AxisName
.Y2 )
2253
if( !roundedXValues && ( axisType ==
AxisName
.X || axisType ==
AxisName
.X2 ) )
2327
if( axisType ==
AxisName
.Y || axisType ==
AxisName
.Y2 || ( roundedXValues && ( axisType ==
AxisName
.X || axisType ==
AxisName
.X2 )))
Common\General\AxisScaleBreaks.cs (4)
439
if(this.axis.axisType ==
AxisName
.X || this.axis.axisType ==
AxisName
.X2)
506
if( (axis.axisType ==
AxisName
.Y && series.YAxisType == AxisType.Secondary) ||
507
(axis.axisType ==
AxisName
.Y2 && series.YAxisType == AxisType.Primary))
Common\General\AxisScrollZoom.cs (6)
238
AreaAlignmentOrientations orientation = (this.axis.axisType ==
AxisName
.X || this.axis.axisType==
AxisName
.X2) ?
295
AreaAlignmentOrientations orientation = (this.axis.axisType ==
AxisName
.X || this.axis.axisType==
AxisName
.X2) ?
341
AreaAlignmentOrientations orientation = (this.axis.axisType ==
AxisName
.X || this.axis.axisType==
AxisName
.X2) ?
Common\General\ChartArea.cs (8)
484
axisY.Initialize(this,
AxisName
.Y);
514
axisX.Initialize(this,
AxisName
.X);
544
axisX2.Initialize(this,
AxisName
.X2);
574
axisY2.Initialize(this,
AxisName
.Y2);
1294
axisX.Initialize(this,
AxisName
.X);
1295
axisY.Initialize(this,
AxisName
.Y);
1296
axisX2.Initialize(this,
AxisName
.X2);
1297
axisY2.Initialize(this,
AxisName
.Y2);
Common\General\ChartAreaAxes.cs (27)
174
internal Axis GetAxis(
AxisName
axisName, AxisType axisType, string subAxisName)
182
if(axisName ==
AxisName
.X || axisName ==
AxisName
.X2)
704
if( axis.margin == 100 && (axis.axisType ==
AxisName
.X || axis.axisType ==
AxisName
.X2) )
726
if( !axis.roundedXValues && ( axis.axisType ==
AxisName
.X || axis.axisType ==
AxisName
.X2 ) )
767
if( !axis.roundedXValues && ( axis.axisType ==
AxisName
.X || axis.axisType ==
AxisName
.X2 ) )
785
if( axis.axisType ==
AxisName
.X || axis.axisType ==
AxisName
.X2 )
831
internal bool SeriesIntegerType(
AxisName
axisName, string subAxisName )
838
if( axisName ==
AxisName
.X )
860
else if( axisName ==
AxisName
.X2 )
883
else if( axisName ==
AxisName
.Y )
905
else if( axisName ==
AxisName
.Y2 )
939
internal bool SeriesDateTimeType(
AxisName
axisName, string subAxisName )
946
if( axisName ==
AxisName
.X )
968
else if( axisName ==
AxisName
.X2 )
990
else if( axisName ==
AxisName
.Y )
1011
else if( axisName ==
AxisName
.Y2 )
1059
if( axis.axisType ==
AxisName
.X2 || axis.axisType ==
AxisName
.Y2 )
1071
if( axis.axisType ==
AxisName
.X2 || axis.axisType ==
AxisName
.X ) // X axis type is used (X or X2)
1303
if( axis.axisType ==
AxisName
.X2 || axis.axisType ==
AxisName
.Y2 )
Common\General\ChartGraphics.cs (5)
5585
public double GetPositionFromAxis( string chartAreaName,
AxisName
axis, double axisValue )
5587
if( axis ==
AxisName
.X )
5590
if( axis ==
AxisName
.X2 )
5593
if( axis ==
AxisName
.Y )
5596
if( axis ==
AxisName
.Y2 )
Common\General\GridTickMarks.cs (12)
196
if (Axis.axisType ==
AxisName
.X || Axis.axisType ==
AxisName
.X2)
198
List<string> seriesArray = Axis.ChartArea.GetXAxesSeries((Axis.axisType ==
AxisName
.X) ? AxisType.Primary : AxisType.Secondary, Axis.SubAxisName);
222
Axis.axisType ==
AxisName
.Y ||
223
Axis.axisType ==
AxisName
.Y2)
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);
1313
_axis.axisType ==
AxisName
.Y ||
1314
_axis.axisType ==
AxisName
.Y2 )
1521
if(_axis.axisType ==
AxisName
.Y)
1525
if(_axis.axisType ==
AxisName
.X)
Common\General\Label.cs (3)
1525
if (_axis.axisType ==
AxisName
.X || _axis.axisType ==
AxisName
.X2)
1527
List<string> seriesArray = _axis.ChartArea.GetXAxesSeries((_axis.axisType ==
AxisName
.X) ? AxisType.Primary : AxisType.Secondary, _axis.SubAxisName);
Common\General\StripLine.cs (5)
268
if(Axis.axisType ==
AxisName
.X || Axis.axisType ==
AxisName
.X2)
270
List<string> seriesArray = Axis.ChartArea.GetXAxesSeries((Axis.axisType ==
AxisName
.X) ? AxisType.Primary : AxisType.Secondary, Axis.SubAxisName);
288
Axis.axisType ==
AxisName
.Y ||
289
Axis.axisType ==
AxisName
.Y2 )