185 references to LabelAlignmentStyles
System.Windows.Forms.DataVisualization (185)
Common\Annotation\AnnotationBase.cs (2)
2818 LabelAlignmentStyles labelAlignment = LabelAlignmentStyles.Bottom;
Common\ChartTypes\BoxPlotChart.cs (1)
946LabelAlignmentStyles.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)
1003LabelAlignmentStyles.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)
85internal LabelAlignmentStyles labelPosition = LabelAlignmentStyles.Top; 730this.labelPosition = LabelAlignmentStyles.Center; 734this.labelPosition = LabelAlignmentStyles.Bottom; 738this.labelPosition = LabelAlignmentStyles.TopLeft; 742this.labelPosition = LabelAlignmentStyles.TopRight; 746this.labelPosition = LabelAlignmentStyles.BottomLeft; 750this.labelPosition = LabelAlignmentStyles.BottomRight; 754this.labelPosition = LabelAlignmentStyles.Left; 758this.labelPosition = LabelAlignmentStyles.Right; 762this.labelPosition = LabelAlignmentStyles.Top; 780case LabelAlignmentStyles.Center: 783case LabelAlignmentStyles.Bottom: 788case LabelAlignmentStyles.Top: 793case LabelAlignmentStyles.Left: 797case LabelAlignmentStyles.TopLeft: 803case LabelAlignmentStyles.BottomLeft: 809case LabelAlignmentStyles.Right: 813case LabelAlignmentStyles.TopRight: 819case LabelAlignmentStyles.BottomRight: 863case LabelAlignmentStyles.Top: 867case LabelAlignmentStyles.Bottom: 871case LabelAlignmentStyles.Right: 875case LabelAlignmentStyles.Left: 879case LabelAlignmentStyles.TopLeft: 882case LabelAlignmentStyles.TopRight: 884case LabelAlignmentStyles.BottomLeft: 886case LabelAlignmentStyles.BottomRight: 909case LabelAlignmentStyles.Left: 912case LabelAlignmentStyles.TopLeft: 915case LabelAlignmentStyles.BottomLeft: 918case LabelAlignmentStyles.Right: 921case LabelAlignmentStyles.TopRight: 924case 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; 1097this._labelPosition = LabelAlignmentStyles.Center; 1101this._labelPosition = LabelAlignmentStyles.Bottom; 1105this._labelPosition = LabelAlignmentStyles.TopLeft; 1109this._labelPosition = LabelAlignmentStyles.TopRight; 1113this._labelPosition = LabelAlignmentStyles.BottomLeft; 1117this._labelPosition = LabelAlignmentStyles.BottomRight; 1121this._labelPosition = LabelAlignmentStyles.Left; 1125this._labelPosition = LabelAlignmentStyles.Right; 1129this._labelPosition = LabelAlignmentStyles.Top; 1147case LabelAlignmentStyles.Center: 1150case LabelAlignmentStyles.Bottom: 1155case LabelAlignmentStyles.Top: 1161case LabelAlignmentStyles.Left: 1165case LabelAlignmentStyles.TopLeft: 1171case LabelAlignmentStyles.BottomLeft: 1177case LabelAlignmentStyles.Right: 1181case LabelAlignmentStyles.TopRight: 1187case 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)
1145LabelAlignmentStyles oldMovingDirection = series.SmartLabelStyle.MovingDirection; 1147if (series.SmartLabelStyle.MovingDirection == (LabelAlignmentStyles.Top | LabelAlignmentStyles.Bottom | LabelAlignmentStyles.Right | LabelAlignmentStyles.Left | LabelAlignmentStyles.TopLeft | LabelAlignmentStyles.TopRight | LabelAlignmentStyles.BottomLeft | LabelAlignmentStyles.BottomRight)) 1149series.SmartLabelStyle.MovingDirection = LabelAlignmentStyles.Left | LabelAlignmentStyles.Right; 1163LabelAlignmentStyles.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; 2052LabelAlignmentStyles.Center);
Common\ChartTypes\StackedColumnChart.cs (24)
1181LabelAlignmentStyles oldMovingDirection = series.SmartLabelStyle.MovingDirection; 1185if (series.SmartLabelStyle.MovingDirection == (LabelAlignmentStyles.Top | LabelAlignmentStyles.Bottom | LabelAlignmentStyles.Right | LabelAlignmentStyles.Left | LabelAlignmentStyles.TopLeft | LabelAlignmentStyles.TopRight | LabelAlignmentStyles.BottomLeft | LabelAlignmentStyles.BottomRight)) 1187series.SmartLabelStyle.MovingDirection = LabelAlignmentStyles.Bottom | LabelAlignmentStyles.Top; 1201LabelAlignmentStyles.Center); 1902LabelAlignmentStyles oldMovingDirection = series.SmartLabelStyle.MovingDirection; 1906if (series.SmartLabelStyle.MovingDirection == (LabelAlignmentStyles.Top | LabelAlignmentStyles.Bottom | LabelAlignmentStyles.Right | LabelAlignmentStyles.Left | LabelAlignmentStyles.TopLeft | LabelAlignmentStyles.TopRight | LabelAlignmentStyles.BottomLeft | LabelAlignmentStyles.BottomRight)) 1908series.SmartLabelStyle.MovingDirection = LabelAlignmentStyles.Bottom | LabelAlignmentStyles.Top; 1922LabelAlignmentStyles.Center);
Common\ChartTypes\StockChart.cs (1)
1034LabelAlignmentStyles.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)