185 references to LabelAlignmentStyles
System.Windows.Forms.DataVisualization (185)
Common\Annotation\AnnotationBase.cs (2)
2818
LabelAlignmentStyles
labelAlignment =
LabelAlignmentStyles
.Bottom;
Common\ChartTypes\BoxPlotChart.cs (1)
946
LabelAlignmentStyles
.Top);
Common\ChartTypes\ColumnChart.cs (3)
621
override protected
LabelAlignmentStyles
GetAutoLabelPosition(Series series, int pointIndex)
624
return
LabelAlignmentStyles
.Top;
626
return
LabelAlignmentStyles
.Bottom;
Common\ChartTypes\ErrorBarChart.cs (1)
1003
LabelAlignmentStyles
.Top);
Common\ChartTypes\LineChart.cs (6)
1091
override protected
LabelAlignmentStyles
GetAutoLabelPosition(Series series, int pointIndex)
1100
return
LabelAlignmentStyles
.Top;
1118
return
LabelAlignmentStyles
.Bottom;
1131
return
LabelAlignmentStyles
.Bottom;
1144
return
LabelAlignmentStyles
.Bottom;
1148
return
LabelAlignmentStyles
.Top;
Common\ChartTypes\PointChart.cs (36)
85
internal
LabelAlignmentStyles
labelPosition =
LabelAlignmentStyles
.Top;
730
this.labelPosition =
LabelAlignmentStyles
.Center;
734
this.labelPosition =
LabelAlignmentStyles
.Bottom;
738
this.labelPosition =
LabelAlignmentStyles
.TopLeft;
742
this.labelPosition =
LabelAlignmentStyles
.TopRight;
746
this.labelPosition =
LabelAlignmentStyles
.BottomLeft;
750
this.labelPosition =
LabelAlignmentStyles
.BottomRight;
754
this.labelPosition =
LabelAlignmentStyles
.Left;
758
this.labelPosition =
LabelAlignmentStyles
.Right;
762
this.labelPosition =
LabelAlignmentStyles
.Top;
780
case
LabelAlignmentStyles
.Center:
783
case
LabelAlignmentStyles
.Bottom:
788
case
LabelAlignmentStyles
.Top:
793
case
LabelAlignmentStyles
.Left:
797
case
LabelAlignmentStyles
.TopLeft:
803
case
LabelAlignmentStyles
.BottomLeft:
809
case
LabelAlignmentStyles
.Right:
813
case
LabelAlignmentStyles
.TopRight:
819
case
LabelAlignmentStyles
.BottomRight:
863
case
LabelAlignmentStyles
.Top:
867
case
LabelAlignmentStyles
.Bottom:
871
case
LabelAlignmentStyles
.Right:
875
case
LabelAlignmentStyles
.Left:
879
case
LabelAlignmentStyles
.TopLeft:
882
case
LabelAlignmentStyles
.TopRight:
884
case
LabelAlignmentStyles
.BottomLeft:
886
case
LabelAlignmentStyles
.BottomRight:
909
case
LabelAlignmentStyles
.Left:
912
case
LabelAlignmentStyles
.TopLeft:
915
case
LabelAlignmentStyles
.BottomLeft:
918
case
LabelAlignmentStyles
.Right:
921
case
LabelAlignmentStyles
.TopRight:
924
case
LabelAlignmentStyles
.BottomRight:
1391
virtual protected
LabelAlignmentStyles
GetAutoLabelPosition(Series series, int pointIndex)
1393
return
LabelAlignmentStyles
.Top;
Common\ChartTypes\RadarChart.cs (32)
105
private
LabelAlignmentStyles
_labelPosition =
LabelAlignmentStyles
.Top;
1097
this._labelPosition =
LabelAlignmentStyles
.Center;
1101
this._labelPosition =
LabelAlignmentStyles
.Bottom;
1105
this._labelPosition =
LabelAlignmentStyles
.TopLeft;
1109
this._labelPosition =
LabelAlignmentStyles
.TopRight;
1113
this._labelPosition =
LabelAlignmentStyles
.BottomLeft;
1117
this._labelPosition =
LabelAlignmentStyles
.BottomRight;
1121
this._labelPosition =
LabelAlignmentStyles
.Left;
1125
this._labelPosition =
LabelAlignmentStyles
.Right;
1129
this._labelPosition =
LabelAlignmentStyles
.Top;
1147
case
LabelAlignmentStyles
.Center:
1150
case
LabelAlignmentStyles
.Bottom:
1155
case
LabelAlignmentStyles
.Top:
1161
case
LabelAlignmentStyles
.Left:
1165
case
LabelAlignmentStyles
.TopLeft:
1171
case
LabelAlignmentStyles
.BottomLeft:
1177
case
LabelAlignmentStyles
.Right:
1181
case
LabelAlignmentStyles
.TopRight:
1187
case
LabelAlignmentStyles
.BottomRight:
1287
virtual protected
LabelAlignmentStyles
GetAutoLabelPosition(ChartArea area, Series series, int pointIndex)
1289
LabelAlignmentStyles
labelAlignment =
LabelAlignmentStyles
.Top;
1296
labelAlignment =
LabelAlignmentStyles
.TopRight;
1300
labelAlignment =
LabelAlignmentStyles
.Top;
1304
labelAlignment =
LabelAlignmentStyles
.TopRight;
1308
labelAlignment =
LabelAlignmentStyles
.BottomRight;
1312
labelAlignment =
LabelAlignmentStyles
.BottomRight;
1316
labelAlignment =
LabelAlignmentStyles
.BottomLeft;
1320
labelAlignment =
LabelAlignmentStyles
.BottomLeft;
1324
labelAlignment =
LabelAlignmentStyles
.TopLeft;
1328
labelAlignment =
LabelAlignmentStyles
.TopLeft;
Common\ChartTypes\StackedBarChart.cs (24)
1145
LabelAlignmentStyles
oldMovingDirection = series.SmartLabelStyle.MovingDirection;
1147
if (series.SmartLabelStyle.MovingDirection == (
LabelAlignmentStyles
.Top |
LabelAlignmentStyles
.Bottom |
LabelAlignmentStyles
.Right |
LabelAlignmentStyles
.Left |
LabelAlignmentStyles
.TopLeft |
LabelAlignmentStyles
.TopRight |
LabelAlignmentStyles
.BottomLeft |
LabelAlignmentStyles
.BottomRight))
1149
series.SmartLabelStyle.MovingDirection =
LabelAlignmentStyles
.Left |
LabelAlignmentStyles
.Right;
1163
LabelAlignmentStyles
.Center);
2034
LabelAlignmentStyles
oldMovingDirection = ser.SmartLabelStyle.MovingDirection;
2036
if(ser.SmartLabelStyle.MovingDirection == (
LabelAlignmentStyles
.Top |
LabelAlignmentStyles
.Bottom |
LabelAlignmentStyles
.Right |
LabelAlignmentStyles
.Left |
LabelAlignmentStyles
.TopLeft |
LabelAlignmentStyles
.TopRight |
LabelAlignmentStyles
.BottomLeft |
LabelAlignmentStyles
.BottomRight) )
2038
ser.SmartLabelStyle.MovingDirection =
LabelAlignmentStyles
.Left |
LabelAlignmentStyles
.Right;
2052
LabelAlignmentStyles
.Center);
Common\ChartTypes\StackedColumnChart.cs (24)
1181
LabelAlignmentStyles
oldMovingDirection = series.SmartLabelStyle.MovingDirection;
1185
if (series.SmartLabelStyle.MovingDirection == (
LabelAlignmentStyles
.Top |
LabelAlignmentStyles
.Bottom |
LabelAlignmentStyles
.Right |
LabelAlignmentStyles
.Left |
LabelAlignmentStyles
.TopLeft |
LabelAlignmentStyles
.TopRight |
LabelAlignmentStyles
.BottomLeft |
LabelAlignmentStyles
.BottomRight))
1187
series.SmartLabelStyle.MovingDirection =
LabelAlignmentStyles
.Bottom |
LabelAlignmentStyles
.Top;
1201
LabelAlignmentStyles
.Center);
1902
LabelAlignmentStyles
oldMovingDirection = series.SmartLabelStyle.MovingDirection;
1906
if (series.SmartLabelStyle.MovingDirection == (
LabelAlignmentStyles
.Top |
LabelAlignmentStyles
.Bottom |
LabelAlignmentStyles
.Right |
LabelAlignmentStyles
.Left |
LabelAlignmentStyles
.TopLeft |
LabelAlignmentStyles
.TopRight |
LabelAlignmentStyles
.BottomLeft |
LabelAlignmentStyles
.BottomRight))
1908
series.SmartLabelStyle.MovingDirection =
LabelAlignmentStyles
.Bottom |
LabelAlignmentStyles
.Top;
1922
LabelAlignmentStyles
.Center);
Common\ChartTypes\StockChart.cs (1)
1034
LabelAlignmentStyles
.Top);
Common\General\SmartLabels.cs (55)
179
private
LabelAlignmentStyles
_movingDirection =
LabelAlignmentStyles
.Top |
LabelAlignmentStyles
.Bottom |
LabelAlignmentStyles
.Right |
LabelAlignmentStyles
.Left |
LabelAlignmentStyles
.TopLeft |
LabelAlignmentStyles
.TopRight |
LabelAlignmentStyles
.BottomLeft |
LabelAlignmentStyles
.BottomRight;
306
DefaultValue(typeof(
LabelAlignmentStyles
), "Top, Bottom, Right, Left, TopLeft, TopRight, BottomLeft, BottomRight"),
310
virtual public
LabelAlignmentStyles
MovingDirection
640
LabelAlignmentStyles
labelAlignment)
681
LabelAlignmentStyles
labelAlignment,
727
(labelAlignment ==
LabelAlignmentStyles
.BottomLeft ||
728
labelAlignment ==
LabelAlignmentStyles
.BottomRight ||
729
labelAlignment ==
LabelAlignmentStyles
.TopLeft ||
730
labelAlignment ==
LabelAlignmentStyles
.TopRight))
783
ref
LabelAlignmentStyles
labelAlignment,
791
LabelAlignmentStyles
[] positions = new
LabelAlignmentStyles
[] {
792
LabelAlignmentStyles
.Top,
793
LabelAlignmentStyles
.Bottom,
794
LabelAlignmentStyles
.Left,
795
LabelAlignmentStyles
.Right,
796
LabelAlignmentStyles
.TopLeft,
797
LabelAlignmentStyles
.TopRight,
798
LabelAlignmentStyles
.BottomLeft,
799
LabelAlignmentStyles
.BottomRight,
800
LabelAlignmentStyles
.Center
822
if(positions[positionIndex] ==
LabelAlignmentStyles
.Center && labelMovement != minMove)
916
LabelAlignmentStyles
labelAlignment)
944
if(labelAlignment ==
LabelAlignmentStyles
.Right)
949
else if(labelAlignment ==
LabelAlignmentStyles
.Left)
954
else if(labelAlignment ==
LabelAlignmentStyles
.Bottom)
968
if(labelAlignment ==
LabelAlignmentStyles
.Top)
972
else if(labelAlignment ==
LabelAlignmentStyles
.Bottom)
979
if(labelAlignment ==
LabelAlignmentStyles
.TopLeft ||
980
labelAlignment ==
LabelAlignmentStyles
.TopRight ||
981
labelAlignment ==
LabelAlignmentStyles
.BottomLeft ||
982
labelAlignment ==
LabelAlignmentStyles
.BottomRight)
1041
LabelAlignmentStyles
labelAlignment,
1148
(labelAlignment ==
LabelAlignmentStyles
.Center && !smartLabelStyle.IsMarkerOverlappingAllowed) ? true : false;
1477
LabelAlignmentStyles
labelAlignment,
1490
case
LabelAlignmentStyles
.Center:
1493
case
LabelAlignmentStyles
.Bottom:
1498
case
LabelAlignmentStyles
.Top:
1503
case
LabelAlignmentStyles
.Left:
1507
case
LabelAlignmentStyles
.TopLeft:
1513
case
LabelAlignmentStyles
.BottomLeft:
1519
case
LabelAlignmentStyles
.Right:
1522
case
LabelAlignmentStyles
.TopRight:
1527
case
LabelAlignmentStyles
.BottomRight:
1585
LabelAlignmentStyles
labelAlignment,
1623
(labelAlignment ==
LabelAlignmentStyles
.Center && !smartLabelStyle.IsMarkerOverlappingAllowed) ? true : false;
1703
LabelAlignmentStyles
labelAlignment)