658 references to Right
System.Web.DataVisualization (328)
Common\Annotation\AnnotationBase.cs (8)
2069 rect.Right - markerSizeRel.Width/2f, 2090 new PointF(rect.Right, rect.Bottom), 2117 handlePosition = new PointF(rect.Right, rect.Y); 2120 handlePosition = new PointF(rect.Right, rect.Y + rect.Height / 2f); 2123 handlePosition = new PointF(rect.Right, rect.Bottom); 2908 double newRight = position.Right; 2985 if(float.IsNaN(position.Right) && 2998 newRight = horizAxis.PositionToValue(position.Right, false);
Common\Annotation\ArrowAnnotation.cs (1)
393 PointF secondPoint = new PointF(positionAbs.Right, positionAbs.Bottom);
Common\Annotation\CalloutAnnotation.cs (54)
660 rectanglePosition.X = rectanglePosition.Right; 672 float.IsNaN(rectanglePosition.Right) || 946 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 947 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 954 anchorPoint.X <= rectanglePosition.Right && 958 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 959 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 965 else if(anchorPoint.X > rectanglePosition.Right && 969 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 970 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom - size); 972 points[4] = new PointF(rectanglePositionAbs.Right - size, rectanglePositionAbs.Bottom); 976 else if(anchorPoint.X > rectanglePosition.Right && 981 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 982 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y + rectanglePositionAbs.Height / 2f - size); 984 points[4] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y + rectanglePositionAbs.Height / 2f + size); 985 points[5] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 988 else if(anchorPoint.X > rectanglePosition.Right && 992 points[1] = new PointF(rectanglePositionAbs.Right - size, rectanglePositionAbs.Y); 994 points[3] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y + size); 995 points[4] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1000 anchorPoint.X <= rectanglePosition.Right && 1007 points[4] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1008 points[5] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1016 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1017 points[3] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1027 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1028 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1141 else if(point.X > rectanglePositionAbs.Right) 1143 point = GetIntersectionX(cloudCenterAbs, anchorPointAbs, rectanglePositionAbs.Right); 1153 else if(point.X > rectanglePositionAbs.Right) 1155 point = GetIntersectionX(cloudCenterAbs, anchorPointAbs, rectanglePositionAbs.Right); 1166 point = GetIntersectionX(cloudCenterAbs, anchorPointAbs, rectanglePositionAbs.Right); 1331 points1[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1342 else if(anchorPoint.X > rectanglePosition.Right) 1345 points2[0] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1346 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1355 points1[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1366 else if(anchorPoint.X > rectanglePosition.Right) 1369 points2[0] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1370 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1385 else if(anchorPoint.X > rectanglePosition.Right) 1388 points2[0] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1389 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1483 PointF textLinePoint2 = new PointF(rectanglePosition.Right, rectanglePosition.Bottom); 1496 else if(anchorPoint.X > rectanglePosition.Right) 1498 lineSecondPoint.X = rectanglePosition.Right; 1605 textLinePoint1.X = rectanglePosition.Right; 1606 textLinePoint2.X = rectanglePosition.Right; 1878 PathAddLineAsSegments(path, rect.X+cornerRadius, rect.Y, rect.Right-cornerRadius, rect.Y, segments); 1880 path.AddArc(rect.Right-2f*cornerRadius, rect.Y, 2f*cornerRadius, 2f*cornerRadius, 270, 90); 1882 PathAddLineAsSegments(path, rect.Right, rect.Y + cornerRadius, rect.Right, rect.Bottom - cornerRadius, segments); 1884 path.AddArc(rect.Right-2f*cornerRadius, rect.Bottom-2f*cornerRadius, 2f*cornerRadius, 2f*cornerRadius, 0, 90); 1886 PathAddLineAsSegments(path, rect.Right-cornerRadius, rect.Bottom, rect.X + cornerRadius, rect.Bottom, segments);
Common\Annotation\GroupAnnotation.cs (2)
929 selectionRect.X = selectionRect.Right; 942 float.IsNaN(selectionRect.Right) ||
Common\Annotation\ImageAnnotation.cs (2)
534 rectanglePosition.X = rectanglePosition.Right; 546 float.IsNaN(rectanglePosition.Right) ||
Common\Annotation\PolygonAnnotation.cs (2)
575 rectanglePosition.X = rectanglePosition.Right; 587 float.IsNaN(rectanglePosition.Right) ||
Common\Annotation\RectangleAnnotation.cs (5)
398 rectanglePosition.X = rectanglePosition.Right; 410 float.IsNaN(rectanglePosition.Right) || 636 rectanglePosition.X = rectanglePosition.Right; 648 float.IsNaN(rectanglePosition.Right) || 712 100f - rectangle.Right + 2,
Common\Annotation\TextAnnotation.cs (2)
428 textPosition.X = textPosition.Right; 441 float.IsNaN(textPosition.Right) ||
Common\Borders3D\EmbedBorder.cs (8)
867 if(areasRect.Right > 100f) 869 if(areasRect.Width > 100f - areasRect.Right) 870 areasRect.Width -= 100f - areasRect.Right; 872 areasRect.X -= 100f - areasRect.Right; 1006 screwRect.X = shadowRect.Right - offset - screwRect.Width; 1010 screwRect.X = shadowRect.Right - offset - screwRect.Width; 1094graph.DrawLine(screwPen, rect.X + 2 * resolution / 96.0f, rect.Y + rect.Height - 2 * resolution / 96.0f, rect.Right - 2 * resolution / 96.0f, rect.Y + 2 * resolution / 96.0f); 1097graph.DrawLine(screwPen, rect.X + 3 * resolution / 96.0f, rect.Y + rect.Height - 1 * resolution / 96.0f, rect.Right - 1 * resolution / 96.0f, rect.Y + 3 * resolution / 96.0f);
Common\ChartTypes\BarChart.cs (11)
582 point.positionRel = new PointF(( barStartPosition < barSize ) ? rectSize.Right : rectSize.X, (float)xPosition); 779 markerPosition.X = rectSize.Right; 901rectLabel.X = rectSize.Right; 902rectLabel.Width = area.PlotAreaPosition.Right - rectSize.Right; 1053labelBackPosition.X = rectLabel.Right - valueTextSize.Width - spacing / 2f; 1494 point.positionRel = new PointF(rectSize.Right, (float)xPosition); 1762 markerPosition.X = rectSize.Right; 1927rectLabel.X = rectSize.Right; 1928rectLabel.Width = area.PlotAreaPosition.Right - rectSize.Right; 2051rotationCenter.X = rectLabel.Right - size.Width / 2; 2055rotationCenter.X = (rectLabel.Left + rectLabel.Right) / 2;
Common\ChartTypes\BoxPlotChart.cs (6)
508 new PointF(rectSize.Right - relBorderWidth.Width, (float)vAxis.GetPosition( point.YValues[4])), 546 for(float curPosition = rectSize.Left + relBorderWidth.Width; curPosition < (rectSize.Right - relBorderWidth.Width); curPosition += dashWidth * 2f) 553 new PointF((float) Math.Min(rectSize.Right, curPosition + dashWidth), medianValue), 1288 new PointF(rectSize.Right, (float)points[4].Y), 1326 for(float curPosition = rectSize.Left; curPosition < rectSize.Right; curPosition += dashWidth * 2f) 1333 new PointF((float) Math.Min(rectSize.Right, curPosition + dashWidth), medianValue),
Common\ChartTypes\ColumnChart.cs (4)
513 if(rectSize.X < area.PlotAreaPosition.X || rectSize.Right > area.PlotAreaPosition.Right) 836 if(rectSize.Right <= area.PlotAreaPosition.X || rectSize.X >= area.PlotAreaPosition.Right) 846 if(rectSize.Right > area.PlotAreaPosition.Right) 848 rectSize.Width -= rectSize.Right - area.PlotAreaPosition.Right;
Common\ChartTypes\FastPointChart.cs (2)
587 points[2].X = markerBounds.Right; 608 points[2].X = markerBounds.Right;
Common\ChartTypes\FunnelChart.cs (12)
586 plotAreaPositionAbs.Right, location, 595 plotAreaPositionAbs.Right, location + height, 1732 if( (position.Right - plotAreaPositionAbs.Right) > requiredSpacing.Width ) 1734 requiredSpacing.Width = position.Right - plotAreaPositionAbs.Right; 1858 labelInfo.Position.X = plotAreaPositionAbs.Right + 1891 labelInfo.CalloutPoint2.X = labelInfo.Position.Right; 1960 labelInfo.Position.X = plotAreaPositionAbs.Right + 1978 labelInfo.CalloutPoint2.X = labelInfo.Position.Right; 2933 plotAreaPositionAbs.Right, location - height, 2945 plotAreaPositionAbs.Right, location,
Common\ChartTypes\PieChart.cs (9)
1422labelBackPosition.X = rect.Right - valueTextSize.Width - spacing / 2f; 1777 if( x3 + size.Width > area.PlotAreaPosition.ToRectangleF().Right ) 3182 points[(int)PiePoints.TopRectBottomRightPoint] = new Point3D(rectangle.Right,rectangle.Bottom,pieWidth); 3188 points[(int)PiePoints.BottomRectBottomRightPoint] = new Point3D(rectangle.Right,rectangle.Bottom,0); 3246 points[(int)PiePoints.DoughnutTopRectBottomRightPoint] = new Point3D(rectangle.Right,rectangle.Bottom,pieWidth); 3252 points[(int)PiePoints.DoughnutBottomRectBottomRightPoint] = new Point3D(rectangle.Right,rectangle.Bottom,0); 4949 position.X = _innerPlotPosition.Right + _chartAreaPosition.Width * this._labelLineSize; 5466labelPosition.Width = chartAreaPosition.Right - labelPosition.X; 5520labelBackPosition.X = labelPosition.Right - valueTextSize.Width - spacing / 2f;
Common\ChartTypes\PointAndFigureChart.cs (4)
843 new PointF(shadowPosition.Right, shadowPosition.Bottom)); 849 new PointF(shadowPosition.Right, shadowPosition.Top)); 858 new PointF(position.Right, position.Bottom)); 864 new PointF(position.Right, position.Top));
Common\ChartTypes\StackedBarChart.cs (10)
482 float right = (float)Math.Ceiling(areaPosition.Right); 837 point.positionRel = new PointF(rectSize.Right, (float)xPosition); 874 rectSize.Right > area.PlotAreaPosition.Right) 1132labelPosition.X = rectangle.Right - sizeFont.Width / 2f; 1136labelPosition.X = rectangle.Right + sizeFont.Width / 2f; 1590 point.positionRel = new PointF(rectSize.Right, (float)pointEx.xPosition); 1883rectLabel.X = rectSize.Right; 1884rectLabel.Width = area.PlotAreaPosition.Right - rectSize.Right; 1964rotationCenter.X = rectLabel.Right - size.Width / 2; 1968rotationCenter.X = (rectLabel.Left + rectLabel.Right) / 2;
Common\ChartTypes\StackedColumnChart.cs (5)
488 float right = (float)Math.Ceiling(areaPosition.Right); 897 rectSize.Right > area.PlotAreaPosition.Right || 1650 if(rectSize.Right <= area.PlotAreaPosition.X || rectSize.X >= area.PlotAreaPosition.Right) 1660 if(rectSize.Right > area.PlotAreaPosition.Right) 1662 rectSize.Width -= rectSize.Right - area.PlotAreaPosition.Right;
Common\ChartTypes\StockChart.cs (3)
835 new PointF(rect.Right, rect.Y), 1635 points[1] = new Point3D(rect.Right, rect.Bottom, zPosition + depth/2f); 1665 new PointF(rect.Right, rect.Y),
Common\General\Axis.cs (4)
1963 new PointF(transformedTitlePosition.Right, transformedTitlePosition.Bottom) }; 2682new PointF(rect.Right, rect.Top), 2683new PointF(rect.Right, rect.Bottom), 3630maxLabelSize = ChartArea.Position.Right - plotArea.Right;
Common\General\AxisScaleSegments.cs (9)
393 shadowPartRect.X = shadowPartRect.Right - 1; 555 float endX = breakLinePosition.Right; 578 float x = (top) ? breakLinePosition.X : breakLinePosition.Right; 606 float endX = breakLinePosition.Right; 630 float x = (top) ? breakLinePosition.X : breakLinePosition.Right; 658 path.AddLine(breakLinePosition.X, breakLinePosition.Y, breakLinePosition.Right, breakLinePosition.Y); 662 path.AddLine(breakLinePosition.X, breakLinePosition.Bottom, breakLinePosition.Right, breakLinePosition.Bottom); 673 path.AddLine(breakLinePosition.Right, breakLinePosition.Y, breakLinePosition.Right, breakLinePosition.Bottom);
Common\General\Chart.cs (2)
3119 if(area.PlotAreaPosition.Right < areaPlotPosition.Right) 3121 areaPlotPosition.Width -= areaPlotPosition.Right - area.PlotAreaPosition.Right;
Common\General\ChartArea.cs (5)
1624 axisPosition = plottingRect.Right; 1626 axisPosition = plottingRect.Right - axisPosition; 1784if (rectLabelSideSpacing.Width > 0 && rectLabelSideSpacing.Width > Position.Right - plottingRect.Right) 1786plottingRect.Width += (Position.Right - plottingRect.Right) - rectLabelSideSpacing.Width; 2745 width -= areaRectAbs.Right - labelPosition[0].X;
Common\General\ChartArea3D.cs (5)
752 wallRect2D.X = position.Right - areaSceneWallWidth.Width; 1320 points[3] = new Point3D( plottingRect.Right, plottingRect.Bottom, zPosition ); 1332 points[7] = new Point3D( plottingRect.Right, plottingRect.Y, zPosition ); 1340 points[1] = new Point3D( plottingRect.Right, plottingRect.Bottom, zPosition ); 1352 points[5] = new Point3D( plottingRect.Right, plottingRect.Y, zPosition );
Common\General\ChartGraphics.cs (52)
1010points[2].X = rect.Right; 1065points[2].X = rect.Right; 1846rotationPoint.X = absPosition.Right; 1990labelRect.X = absPosition.Right - labelSize.Width; 2314imageRect.X = absPosition.Right - imageAbsSize.Width - labelSize.Width; 2420 absPositionRounded.Width = (int)Math.Round(absPosition.Right) - absPositionRounded.X; 2559 absPositionRounded.Width = (int)Math.Round(absPosition.Right) - absPositionRounded.X; 2786 rotationCenter.X = rect.Right - size.Width / 2; 2791 rotationCenter.X = ( rect.Left + rect.Right ) / 2; 2874 gradientRect.Width = rect.Right - gradientRect.X; 2919 new PointF(rect.Right, rect.Top), 2920 new PointF(rect.Right - shadowSize, rect.Top + shadowSize), 2938 new PointF(rect.Right, rect.Top), 2939 new PointF(rect.Right, rect.Bottom), 2942 new PointF(rect.Right - shadowSize, rect.Bottom - shadowSize), 2943 new PointF(rect.Right - shadowSize, rect.Top + shadowSize) }; 2976 gradientRect.X = gradientRect.Right - (float)Math.Floor(gradientRect.Width / 3f); 3046 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size, gradientRect.Right, gradientRect.Bottom); 3047 path.AddLine(gradientRect.Right, gradientRect.Bottom, gradientRect.Right, gradientRect.Y); 3051 path.AddLine(gradientRect.X + size, gradientRect.Y + gradientRect.Height/2f, gradientRect.Right - size, gradientRect.Y + gradientRect.Height/2f); 3052 path.AddLine(gradientRect.Right - size, gradientRect.Y + gradientRect.Height/2f, gradientRect.Right, gradientRect.Bottom); 3053 path.AddLine(gradientRect.Right, gradientRect.Bottom, gradientRect.Left, gradientRect.Bottom); 3070 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size, gradientRect.Right, gradientRect.Y); 3074 path.AddLine(gradientRect.Right, gradientRect.Y, gradientRect.Right - size, gradientRect.Y + gradientRect.Height / 2f); 3075 path.AddLine(gradientRect.Right - size, gradientRect.Y + gradientRect.Height / 2f, gradientRect.Right, gradientRect.Bottom); 3140 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size, gradientRect.Right, gradientRect.Bottom); 3557 imageRect.X = fillRect.Right - imageRect.Width; 3803 path.AddLine(offset.X+radiusX, offset.Y, offset.Right-radiusX, offset.Y); 3804 path.AddArc(offset.Right-2f*radiusX, offset.Y, 2f*radiusX, 2f*radiusY, 270, 90); 3805 path.AddLine(offset.Right, offset.Y + radiusY, offset.Right, offset.Bottom - radiusY); 3806 path.AddArc(offset.Right-2f*radiusX, offset.Bottom-2f*radiusY, 2f*radiusX, 2f*radiusY, 0, 90); 3807 path.AddLine(offset.Right-radiusX, offset.Bottom, offset.X + radiusX, offset.Bottom); 3814 path.AddLine(offset.X+radius, offset.Y, offset.Right-radius, offset.Y); 3815 path.AddArc(offset.Right-2f*radius, offset.Y, 2f*radius, 2f*radius, 270, 90); 3816 path.AddLine(offset.Right, offset.Y + radius, offset.Right, offset.Bottom - radius); 3817 path.AddArc(offset.Right-2f*radius, offset.Bottom-2f*radius, 2f*radius, 2f*radius, 0, 90); 3818 path.AddLine(offset.Right-radius, offset.Bottom, offset.X + radius, offset.Bottom); 4238 imageRect.X = fillRect.Right - imageRect.Width; 4534 imageRect.X = fillRect.Right - imageRect.Width; 4791 path.AddLine(rect.X+cornerRadius[0], rect.Y, rect.Right-cornerRadius[1], rect.Y); 4792 path.AddArc(rect.Right-2f*cornerRadius[1], rect.Y, 2f*cornerRadius[1], 2f*cornerRadius[2], 270, 90); 4793 path.AddLine(rect.Right, rect.Y + cornerRadius[2], rect.Right, rect.Bottom - cornerRadius[3]); 4794 path.AddArc(rect.Right-2f*cornerRadius[4], rect.Bottom-2f*cornerRadius[3], 2f*cornerRadius[4], 2f*cornerRadius[3], 0, 90); 4795 path.AddLine(rect.Right-cornerRadius[4], rect.Bottom, rect.X + cornerRadius[5], rect.Bottom); 5571 float right = (float)Math.Round( (double)rect.Right );
Common\General\ChartGraphics3D.cs (28)
2868 cubePoints[2] = new Point3D( position.Right, position.Bottom, positionZ + depth ); 2869 cubePoints[3] = new Point3D( position.Right, position.Y, positionZ + depth ); 2874 cubePoints[6] = new Point3D( position.Right, position.Bottom, positionZ ); 2875 cubePoints[7] = new Point3D( position.Right, position.Y, positionZ ); 3105 gradientPoints[2] = new Point3D( position.Right, position.Bottom, positionZ + depth ); 3106 gradientPoints[3] = new Point3D( position.Right, position.Top, positionZ + depth ); 3115 gradientPoints[5] = new Point3D( position.Right - sizeRel.Width, position.Top + position.Height / 2f, positionZ + depth ); 3253 gradientRect.X = gradientRect.Right - (float)Math.Floor(gradientRect.Width / 3f); 3262 gradientPoints[2] = new Point3D( gradientRect.Right, gradientRect.Bottom, positionZ + depth ); 3263 gradientPoints[3] = new Point3D( gradientRect.Right, gradientRect.Top, positionZ + depth ); 3318 gradientPoints[2] = new Point3D( gradientRect.Right, gradientRect.Bottom, positionZ + depth ); 3319 gradientPoints[3] = new Point3D( gradientRect.Right, gradientRect.Top, positionZ + depth ); 3374 gradientPoints[2] = new Point3D( position.Right, position.Top, positionZ + depth ); 3375 gradientPoints[3] = new Point3D( position.Right - shadowSizeRel.Width, position.Top + shadowSizeRel.Height, positionZ + depth ); 3403 gradientPoints[0] = new Point3D( position.Right, position.Top, positionZ + depth ); 3404 gradientPoints[1] = new Point3D( position.Right, position.Bottom, positionZ + depth ); 3407 gradientPoints[4] = new Point3D( position.Right - shadowSizeRel.Width, position.Bottom - shadowSizeRel.Height, positionZ + depth ); 3408 gradientPoints[5] = new Point3D( position.Right - shadowSizeRel.Width, position.Top + shadowSizeRel.Height, positionZ + depth ); 3736 cubePoints[2] = new Point3D( position.Right, position.Bottom, positionZ + depth ); 3737 cubePoints[3] = new Point3D( position.Right, position.Y, positionZ + depth ); 3742 cubePoints[6] = new Point3D( position.Right, position.Bottom, positionZ ); 3743 cubePoints[7] = new Point3D( position.Right, position.Y, positionZ ); 3981 cubePoints[2] = new Point3D( position.Right, position.Bottom, positionZ + depth / 2f ); 3982 cubePoints[3] = new Point3D( position.Right, position.Y, positionZ + depth / 2f ); 3992 cubePoints[0] = new Point3D( position.Right, position.Y, positionZ + depth / 2f ); 3995 cubePoints[3] = new Point3D( position.Right, position.Bottom, positionZ + depth / 2f ); 3998 cubePoints[4] = new Point3D( position.Right, middleYValue, positionZ + depth ); 4001 cubePoints[7] = new Point3D( position.Right, middleYValue, positionZ );
Common\General\GridTickMarks.cs (2)
1473 second.X = plotArea.Right; 1571 second.X = plotArea.Right;
Common\General\ImageMap.cs (1)
275coord[2] = rect.Right;
Common\General\Label.cs (14)
1279 new PointF(labelRect.Right, labelRect.Y), 1280 new PointF(labelRect.Right, labelRect.Bottom), 1626rect.X = rectLabels.Right - _axis.unRotatedLabelSize; 1701rect.X = rect.Right - _axis.totlaGroupingLabelsSize - _axis.totlaGroupingLabelsSizeAdjustment;// + Axis.elementSpacing * 0.25f; 2128rect.X = rectLabels.Right - _axis.unRotatedLabelSize; 2220rect.X = rect.Right - _axis.totlaGroupingLabelsSize - _axis.totlaGroupingLabelsSizeAdjustment;// + Axis.elementSpacing * 0.25f; 2302rectPoints[0] = new Point3D(rect.Right, rect.Y, labelsZPosition); 2303rectPoints[1] = new Point3D(rect.Right, rect.Y + rect.Height / 2f, labelsZPosition); 2304rectPoints[2] = new Point3D(rect.Right, rect.Bottom, labelsZPosition); 2318rect.Width = rect.Right - rectPoints[1].X; 2326rectPoints[2] = new Point3D(rect.Right, rect.Bottom, labelsZPosition); 2341rect.Width = rightLabelsRect.Right - rect.X; 2357rectPoints[2] = new Point3D(rect.Right, rect.Y, labelsZPosition); 2373rect.Width = rightLabelsRect.Right - rect.X;
Common\General\Legend.cs (24)
1129 legendPosition.X = chartAreasRectangle.Right - legendSize.Width - elementSpacing; 1149 legendPosition.X = chartAreasRectangle.Right - legendSize.Width - elementSpacing; 1177 chartAreasRectangle.X = legendPosition.Right; 1181 legendPosition.X = chartAreasRectangle.Right - legendSize.Width - elementSpacing; 4455 new PointF(rect.Right, rect.Bottom - 1) ); 4465 new PointF(rect.Right - 1, rect.Top), 4466 new PointF(rect.Right - 1, rect.Bottom) ); 4479 new PointF(rect.Right, rect.Bottom - 1) ); 4489 new PointF(rect.Right - 1, rect.Top), 4490 new PointF(rect.Right - 1, rect.Bottom) ); 4503 new PointF(rect.Right, rect.Bottom - 1) ); 4513 new PointF(rect.Right - 1, rect.Top), 4514 new PointF(rect.Right - 1, rect.Bottom) ); 4527 new PointF(rect.Right, rect.Bottom - 1f) ); 4536 new PointF(rect.Right - 1f, rect.Top), 4537 new PointF(rect.Right - 1f, rect.Bottom) ); 4550 new PointF(rect.Right, rect.Bottom - 3) ); 4556 new PointF(rect.Right, rect.Bottom - 1) ); 4565 new PointF(rect.Right - 3, rect.Top), 4566 new PointF(rect.Right - 3, rect.Bottom) ); 4571 new PointF(rect.Right - 1, rect.Top), 4572 new PointF(rect.Right - 1, rect.Bottom) ); 4599 new RectangleF(rect.Right - 1f, rect.Top, 0f, rect.Height), 4638 new RectangleF(rect.Right - 2f, rect.Top, 1f, rect.Height),
Common\General\Selection.cs (9)
2773list.Add(new PointF(rect.Right, rect.Top + rect.Height / 2)); 2774list.Add(new PointF(rect.Right - rect.Width / 2, rect.Bottom)); 3202list.Add(new PointF(rect.Right, rect.Top)); 3203list.Add(new PointF(rect.Right, rect.Bottom)); 3209list.Add(new PointF(rect.Right, rect.Top)); 3228list.Add(new PointF(rect.Right, rect.Top)); 3232list.Add(new PointF(rect.Right, rect.Top + rect.Height / 2)); 3235list.Add(new PointF(rect.Right, rect.Bottom)); 3257list.Add(new PointF(rect.Right, rect.Top));
Common\General\SmartLabels.cs (13)
952 graph.DrawLine(calloutPen, labelRectAbs.Right, labelRectAbs.Top, labelRectAbs.Right, labelRectAbs.Bottom); 957 graph.DrawLine(calloutPen, labelRectAbs.X, labelRectAbs.Top, labelRectAbs.Right, labelRectAbs.Top); 962 graph.DrawLine(calloutPen, labelRectAbs.X, labelRectAbs.Bottom, labelRectAbs.Right, labelRectAbs.Bottom); 1051 labelPosition.Bottom > 100f || labelPosition.Right > 100f) 1094 !areaPath.IsVisible(new PointF(labelPosition.Right, labelPosition.Y)) || 1095 !areaPath.IsVisible(new PointF(labelPosition.Right, labelPosition.Bottom)) || 1224 if(point1.X >= rect.X && point1.X <= rect.Right) 1248 if(point1.X > rect.Right && point2.X > rect.Right) 1263 else if(point1.X > rect.Right && point2.X > rect.Right) 1299 intersection = CalloutAnnotation.GetIntersectionX(point1, point2, rect.Right);
Common\General\StripLine.cs (4)
444 point2.X = plotAreaPosition.Right; 561 rect.X = rect.Right; 729rotationCenter.X = rect.Right - size.Width / 2 - sizeBorder.Width; 733rotationCenter.X = (rect.Left + rect.Right) / 2;
Common\General\Title.cs (6)
1509 exactTitleRect.X = titlePosition.Right - exactTitleRect.Width; 1907 titlePosition.Width = chartAreasRectangle.Right - titlePosition.X - elementSpacing; 1921 titlePosition.Width = chartAreasRectangle.Right - titlePosition.X - elementSpacing; 1942 chartAreasRectangle.X = titlePosition.Right; 1946 titlePosition.X = chartAreasRectangle.Right - titleSize.Width - elementSpacing; 2131titlePosition.X = prevChartAreasRectangle.Right + areaSpacing;
System.Windows.Forms (2)
winforms\Managed\System\WinForms\Layout\TableLayout.cs (2)
1163float startX = isContainerRTL ? displayRectF.Right : displayRectF.X; 1180startX = isContainerRTL ? displayRectF.Right : displayRectF.X;
System.Windows.Forms.DataVisualization (328)
Common\Annotation\AnnotationBase.cs (8)
2069 rect.Right - markerSizeRel.Width/2f, 2090 new PointF(rect.Right, rect.Bottom), 2117 handlePosition = new PointF(rect.Right, rect.Y); 2120 handlePosition = new PointF(rect.Right, rect.Y + rect.Height / 2f); 2123 handlePosition = new PointF(rect.Right, rect.Bottom); 2908 double newRight = position.Right; 2985 if(float.IsNaN(position.Right) && 2998 newRight = horizAxis.PositionToValue(position.Right, false);
Common\Annotation\ArrowAnnotation.cs (1)
393 PointF secondPoint = new PointF(positionAbs.Right, positionAbs.Bottom);
Common\Annotation\CalloutAnnotation.cs (54)
660 rectanglePosition.X = rectanglePosition.Right; 672 float.IsNaN(rectanglePosition.Right) || 946 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 947 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 954 anchorPoint.X <= rectanglePosition.Right && 958 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 959 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 965 else if(anchorPoint.X > rectanglePosition.Right && 969 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 970 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom - size); 972 points[4] = new PointF(rectanglePositionAbs.Right - size, rectanglePositionAbs.Bottom); 976 else if(anchorPoint.X > rectanglePosition.Right && 981 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 982 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y + rectanglePositionAbs.Height / 2f - size); 984 points[4] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y + rectanglePositionAbs.Height / 2f + size); 985 points[5] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 988 else if(anchorPoint.X > rectanglePosition.Right && 992 points[1] = new PointF(rectanglePositionAbs.Right - size, rectanglePositionAbs.Y); 994 points[3] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y + size); 995 points[4] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1000 anchorPoint.X <= rectanglePosition.Right && 1007 points[4] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1008 points[5] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1016 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1017 points[3] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1027 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1028 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1141 else if(point.X > rectanglePositionAbs.Right) 1143 point = GetIntersectionX(cloudCenterAbs, anchorPointAbs, rectanglePositionAbs.Right); 1153 else if(point.X > rectanglePositionAbs.Right) 1155 point = GetIntersectionX(cloudCenterAbs, anchorPointAbs, rectanglePositionAbs.Right); 1166 point = GetIntersectionX(cloudCenterAbs, anchorPointAbs, rectanglePositionAbs.Right); 1331 points1[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1342 else if(anchorPoint.X > rectanglePosition.Right) 1345 points2[0] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1346 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1355 points1[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1366 else if(anchorPoint.X > rectanglePosition.Right) 1369 points2[0] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1370 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1385 else if(anchorPoint.X > rectanglePosition.Right) 1388 points2[0] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Bottom); 1389 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1483 PointF textLinePoint2 = new PointF(rectanglePosition.Right, rectanglePosition.Bottom); 1496 else if(anchorPoint.X > rectanglePosition.Right) 1498 lineSecondPoint.X = rectanglePosition.Right; 1605 textLinePoint1.X = rectanglePosition.Right; 1606 textLinePoint2.X = rectanglePosition.Right; 1878 PathAddLineAsSegments(path, rect.X+cornerRadius, rect.Y, rect.Right-cornerRadius, rect.Y, segments); 1880 path.AddArc(rect.Right-2f*cornerRadius, rect.Y, 2f*cornerRadius, 2f*cornerRadius, 270, 90); 1882 PathAddLineAsSegments(path, rect.Right, rect.Y + cornerRadius, rect.Right, rect.Bottom - cornerRadius, segments); 1884 path.AddArc(rect.Right-2f*cornerRadius, rect.Bottom-2f*cornerRadius, 2f*cornerRadius, 2f*cornerRadius, 0, 90); 1886 PathAddLineAsSegments(path, rect.Right-cornerRadius, rect.Bottom, rect.X + cornerRadius, rect.Bottom, segments);
Common\Annotation\GroupAnnotation.cs (2)
929 selectionRect.X = selectionRect.Right; 942 float.IsNaN(selectionRect.Right) ||
Common\Annotation\ImageAnnotation.cs (2)
534 rectanglePosition.X = rectanglePosition.Right; 546 float.IsNaN(rectanglePosition.Right) ||
Common\Annotation\PolygonAnnotation.cs (2)
575 rectanglePosition.X = rectanglePosition.Right; 587 float.IsNaN(rectanglePosition.Right) ||
Common\Annotation\RectangleAnnotation.cs (5)
398 rectanglePosition.X = rectanglePosition.Right; 410 float.IsNaN(rectanglePosition.Right) || 636 rectanglePosition.X = rectanglePosition.Right; 648 float.IsNaN(rectanglePosition.Right) || 712 100f - rectangle.Right + 2,
Common\Annotation\TextAnnotation.cs (2)
428 textPosition.X = textPosition.Right; 441 float.IsNaN(textPosition.Right) ||
Common\Borders3D\EmbedBorder.cs (8)
867 if(areasRect.Right > 100f) 869 if(areasRect.Width > 100f - areasRect.Right) 870 areasRect.Width -= 100f - areasRect.Right; 872 areasRect.X -= 100f - areasRect.Right; 1006 screwRect.X = shadowRect.Right - offset - screwRect.Width; 1010 screwRect.X = shadowRect.Right - offset - screwRect.Width; 1094graph.DrawLine(screwPen, rect.X + 2 * resolution / 96.0f, rect.Y + rect.Height - 2 * resolution / 96.0f, rect.Right - 2 * resolution / 96.0f, rect.Y + 2 * resolution / 96.0f); 1097graph.DrawLine(screwPen, rect.X + 3 * resolution / 96.0f, rect.Y + rect.Height - 1 * resolution / 96.0f, rect.Right - 1 * resolution / 96.0f, rect.Y + 3 * resolution / 96.0f);
Common\ChartTypes\BarChart.cs (11)
582 point.positionRel = new PointF(( barStartPosition < barSize ) ? rectSize.Right : rectSize.X, (float)xPosition); 779 markerPosition.X = rectSize.Right; 901rectLabel.X = rectSize.Right; 902rectLabel.Width = area.PlotAreaPosition.Right - rectSize.Right; 1053labelBackPosition.X = rectLabel.Right - valueTextSize.Width - spacing / 2f; 1494 point.positionRel = new PointF(rectSize.Right, (float)xPosition); 1762 markerPosition.X = rectSize.Right; 1927rectLabel.X = rectSize.Right; 1928rectLabel.Width = area.PlotAreaPosition.Right - rectSize.Right; 2051rotationCenter.X = rectLabel.Right - size.Width / 2; 2055rotationCenter.X = (rectLabel.Left + rectLabel.Right) / 2;
Common\ChartTypes\BoxPlotChart.cs (6)
508 new PointF(rectSize.Right - relBorderWidth.Width, (float)vAxis.GetPosition( point.YValues[4])), 546 for(float curPosition = rectSize.Left + relBorderWidth.Width; curPosition < (rectSize.Right - relBorderWidth.Width); curPosition += dashWidth * 2f) 553 new PointF((float) Math.Min(rectSize.Right, curPosition + dashWidth), medianValue), 1288 new PointF(rectSize.Right, (float)points[4].Y), 1326 for(float curPosition = rectSize.Left; curPosition < rectSize.Right; curPosition += dashWidth * 2f) 1333 new PointF((float) Math.Min(rectSize.Right, curPosition + dashWidth), medianValue),
Common\ChartTypes\ColumnChart.cs (4)
513 if(rectSize.X < area.PlotAreaPosition.X || rectSize.Right > area.PlotAreaPosition.Right) 836 if(rectSize.Right <= area.PlotAreaPosition.X || rectSize.X >= area.PlotAreaPosition.Right) 846 if(rectSize.Right > area.PlotAreaPosition.Right) 848 rectSize.Width -= rectSize.Right - area.PlotAreaPosition.Right;
Common\ChartTypes\FastPointChart.cs (2)
587 points[2].X = markerBounds.Right; 608 points[2].X = markerBounds.Right;
Common\ChartTypes\FunnelChart.cs (12)
586 plotAreaPositionAbs.Right, location, 595 plotAreaPositionAbs.Right, location + height, 1732 if( (position.Right - plotAreaPositionAbs.Right) > requiredSpacing.Width ) 1734 requiredSpacing.Width = position.Right - plotAreaPositionAbs.Right; 1858 labelInfo.Position.X = plotAreaPositionAbs.Right + 1891 labelInfo.CalloutPoint2.X = labelInfo.Position.Right; 1960 labelInfo.Position.X = plotAreaPositionAbs.Right + 1978 labelInfo.CalloutPoint2.X = labelInfo.Position.Right; 2933 plotAreaPositionAbs.Right, location - height, 2945 plotAreaPositionAbs.Right, location,
Common\ChartTypes\PieChart.cs (9)
1422labelBackPosition.X = rect.Right - valueTextSize.Width - spacing / 2f; 1777 if( x3 + size.Width > area.PlotAreaPosition.ToRectangleF().Right ) 3182 points[(int)PiePoints.TopRectBottomRightPoint] = new Point3D(rectangle.Right,rectangle.Bottom,pieWidth); 3188 points[(int)PiePoints.BottomRectBottomRightPoint] = new Point3D(rectangle.Right,rectangle.Bottom,0); 3246 points[(int)PiePoints.DoughnutTopRectBottomRightPoint] = new Point3D(rectangle.Right,rectangle.Bottom,pieWidth); 3252 points[(int)PiePoints.DoughnutBottomRectBottomRightPoint] = new Point3D(rectangle.Right,rectangle.Bottom,0); 4949 position.X = _innerPlotPosition.Right + _chartAreaPosition.Width * this._labelLineSize; 5466labelPosition.Width = chartAreaPosition.Right - labelPosition.X; 5520labelBackPosition.X = labelPosition.Right - valueTextSize.Width - spacing / 2f;
Common\ChartTypes\PointAndFigureChart.cs (4)
843 new PointF(shadowPosition.Right, shadowPosition.Bottom)); 849 new PointF(shadowPosition.Right, shadowPosition.Top)); 858 new PointF(position.Right, position.Bottom)); 864 new PointF(position.Right, position.Top));
Common\ChartTypes\StackedBarChart.cs (10)
482 float right = (float)Math.Ceiling(areaPosition.Right); 837 point.positionRel = new PointF(rectSize.Right, (float)xPosition); 874 rectSize.Right > area.PlotAreaPosition.Right) 1132labelPosition.X = rectangle.Right - sizeFont.Width / 2f; 1136labelPosition.X = rectangle.Right + sizeFont.Width / 2f; 1590 point.positionRel = new PointF(rectSize.Right, (float)pointEx.xPosition); 1883rectLabel.X = rectSize.Right; 1884rectLabel.Width = area.PlotAreaPosition.Right - rectSize.Right; 1964rotationCenter.X = rectLabel.Right - size.Width / 2; 1968rotationCenter.X = (rectLabel.Left + rectLabel.Right) / 2;
Common\ChartTypes\StackedColumnChart.cs (5)
488 float right = (float)Math.Ceiling(areaPosition.Right); 897 rectSize.Right > area.PlotAreaPosition.Right || 1650 if(rectSize.Right <= area.PlotAreaPosition.X || rectSize.X >= area.PlotAreaPosition.Right) 1660 if(rectSize.Right > area.PlotAreaPosition.Right) 1662 rectSize.Width -= rectSize.Right - area.PlotAreaPosition.Right;
Common\ChartTypes\StockChart.cs (3)
835 new PointF(rect.Right, rect.Y), 1635 points[1] = new Point3D(rect.Right, rect.Bottom, zPosition + depth/2f); 1665 new PointF(rect.Right, rect.Y),
Common\General\Axis.cs (4)
1963 new PointF(transformedTitlePosition.Right, transformedTitlePosition.Bottom) }; 2682new PointF(rect.Right, rect.Top), 2683new PointF(rect.Right, rect.Bottom), 3630maxLabelSize = ChartArea.Position.Right - plotArea.Right;
Common\General\AxisScaleSegments.cs (9)
393 shadowPartRect.X = shadowPartRect.Right - 1; 555 float endX = breakLinePosition.Right; 578 float x = (top) ? breakLinePosition.X : breakLinePosition.Right; 606 float endX = breakLinePosition.Right; 630 float x = (top) ? breakLinePosition.X : breakLinePosition.Right; 658 path.AddLine(breakLinePosition.X, breakLinePosition.Y, breakLinePosition.Right, breakLinePosition.Y); 662 path.AddLine(breakLinePosition.X, breakLinePosition.Bottom, breakLinePosition.Right, breakLinePosition.Bottom); 673 path.AddLine(breakLinePosition.Right, breakLinePosition.Y, breakLinePosition.Right, breakLinePosition.Bottom);
Common\General\Chart.cs (2)
3119 if(area.PlotAreaPosition.Right < areaPlotPosition.Right) 3121 areaPlotPosition.Width -= areaPlotPosition.Right - area.PlotAreaPosition.Right;
Common\General\ChartArea.cs (5)
1624 axisPosition = plottingRect.Right; 1626 axisPosition = plottingRect.Right - axisPosition; 1784if (rectLabelSideSpacing.Width > 0 && rectLabelSideSpacing.Width > Position.Right - plottingRect.Right) 1786plottingRect.Width += (Position.Right - plottingRect.Right) - rectLabelSideSpacing.Width; 2745 width -= areaRectAbs.Right - labelPosition[0].X;
Common\General\ChartArea3D.cs (5)
752 wallRect2D.X = position.Right - areaSceneWallWidth.Width; 1320 points[3] = new Point3D( plottingRect.Right, plottingRect.Bottom, zPosition ); 1332 points[7] = new Point3D( plottingRect.Right, plottingRect.Y, zPosition ); 1340 points[1] = new Point3D( plottingRect.Right, plottingRect.Bottom, zPosition ); 1352 points[5] = new Point3D( plottingRect.Right, plottingRect.Y, zPosition );
Common\General\ChartGraphics.cs (52)
1010points[2].X = rect.Right; 1065points[2].X = rect.Right; 1846rotationPoint.X = absPosition.Right; 1990labelRect.X = absPosition.Right - labelSize.Width; 2314imageRect.X = absPosition.Right - imageAbsSize.Width - labelSize.Width; 2420 absPositionRounded.Width = (int)Math.Round(absPosition.Right) - absPositionRounded.X; 2559 absPositionRounded.Width = (int)Math.Round(absPosition.Right) - absPositionRounded.X; 2786 rotationCenter.X = rect.Right - size.Width / 2; 2791 rotationCenter.X = ( rect.Left + rect.Right ) / 2; 2874 gradientRect.Width = rect.Right - gradientRect.X; 2919 new PointF(rect.Right, rect.Top), 2920 new PointF(rect.Right - shadowSize, rect.Top + shadowSize), 2938 new PointF(rect.Right, rect.Top), 2939 new PointF(rect.Right, rect.Bottom), 2942 new PointF(rect.Right - shadowSize, rect.Bottom - shadowSize), 2943 new PointF(rect.Right - shadowSize, rect.Top + shadowSize) }; 2976 gradientRect.X = gradientRect.Right - (float)Math.Floor(gradientRect.Width / 3f); 3046 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size, gradientRect.Right, gradientRect.Bottom); 3047 path.AddLine(gradientRect.Right, gradientRect.Bottom, gradientRect.Right, gradientRect.Y); 3051 path.AddLine(gradientRect.X + size, gradientRect.Y + gradientRect.Height/2f, gradientRect.Right - size, gradientRect.Y + gradientRect.Height/2f); 3052 path.AddLine(gradientRect.Right - size, gradientRect.Y + gradientRect.Height/2f, gradientRect.Right, gradientRect.Bottom); 3053 path.AddLine(gradientRect.Right, gradientRect.Bottom, gradientRect.Left, gradientRect.Bottom); 3070 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size, gradientRect.Right, gradientRect.Y); 3074 path.AddLine(gradientRect.Right, gradientRect.Y, gradientRect.Right - size, gradientRect.Y + gradientRect.Height / 2f); 3075 path.AddLine(gradientRect.Right - size, gradientRect.Y + gradientRect.Height / 2f, gradientRect.Right, gradientRect.Bottom); 3140 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size, gradientRect.Right, gradientRect.Bottom); 3557 imageRect.X = fillRect.Right - imageRect.Width; 3803 path.AddLine(offset.X+radiusX, offset.Y, offset.Right-radiusX, offset.Y); 3804 path.AddArc(offset.Right-2f*radiusX, offset.Y, 2f*radiusX, 2f*radiusY, 270, 90); 3805 path.AddLine(offset.Right, offset.Y + radiusY, offset.Right, offset.Bottom - radiusY); 3806 path.AddArc(offset.Right-2f*radiusX, offset.Bottom-2f*radiusY, 2f*radiusX, 2f*radiusY, 0, 90); 3807 path.AddLine(offset.Right-radiusX, offset.Bottom, offset.X + radiusX, offset.Bottom); 3814 path.AddLine(offset.X+radius, offset.Y, offset.Right-radius, offset.Y); 3815 path.AddArc(offset.Right-2f*radius, offset.Y, 2f*radius, 2f*radius, 270, 90); 3816 path.AddLine(offset.Right, offset.Y + radius, offset.Right, offset.Bottom - radius); 3817 path.AddArc(offset.Right-2f*radius, offset.Bottom-2f*radius, 2f*radius, 2f*radius, 0, 90); 3818 path.AddLine(offset.Right-radius, offset.Bottom, offset.X + radius, offset.Bottom); 4238 imageRect.X = fillRect.Right - imageRect.Width; 4534 imageRect.X = fillRect.Right - imageRect.Width; 4791 path.AddLine(rect.X+cornerRadius[0], rect.Y, rect.Right-cornerRadius[1], rect.Y); 4792 path.AddArc(rect.Right-2f*cornerRadius[1], rect.Y, 2f*cornerRadius[1], 2f*cornerRadius[2], 270, 90); 4793 path.AddLine(rect.Right, rect.Y + cornerRadius[2], rect.Right, rect.Bottom - cornerRadius[3]); 4794 path.AddArc(rect.Right-2f*cornerRadius[4], rect.Bottom-2f*cornerRadius[3], 2f*cornerRadius[4], 2f*cornerRadius[3], 0, 90); 4795 path.AddLine(rect.Right-cornerRadius[4], rect.Bottom, rect.X + cornerRadius[5], rect.Bottom); 5571 float right = (float)Math.Round( (double)rect.Right );
Common\General\ChartGraphics3D.cs (28)
2868 cubePoints[2] = new Point3D( position.Right, position.Bottom, positionZ + depth ); 2869 cubePoints[3] = new Point3D( position.Right, position.Y, positionZ + depth ); 2874 cubePoints[6] = new Point3D( position.Right, position.Bottom, positionZ ); 2875 cubePoints[7] = new Point3D( position.Right, position.Y, positionZ ); 3105 gradientPoints[2] = new Point3D( position.Right, position.Bottom, positionZ + depth ); 3106 gradientPoints[3] = new Point3D( position.Right, position.Top, positionZ + depth ); 3115 gradientPoints[5] = new Point3D( position.Right - sizeRel.Width, position.Top + position.Height / 2f, positionZ + depth ); 3253 gradientRect.X = gradientRect.Right - (float)Math.Floor(gradientRect.Width / 3f); 3262 gradientPoints[2] = new Point3D( gradientRect.Right, gradientRect.Bottom, positionZ + depth ); 3263 gradientPoints[3] = new Point3D( gradientRect.Right, gradientRect.Top, positionZ + depth ); 3318 gradientPoints[2] = new Point3D( gradientRect.Right, gradientRect.Bottom, positionZ + depth ); 3319 gradientPoints[3] = new Point3D( gradientRect.Right, gradientRect.Top, positionZ + depth ); 3374 gradientPoints[2] = new Point3D( position.Right, position.Top, positionZ + depth ); 3375 gradientPoints[3] = new Point3D( position.Right - shadowSizeRel.Width, position.Top + shadowSizeRel.Height, positionZ + depth ); 3403 gradientPoints[0] = new Point3D( position.Right, position.Top, positionZ + depth ); 3404 gradientPoints[1] = new Point3D( position.Right, position.Bottom, positionZ + depth ); 3407 gradientPoints[4] = new Point3D( position.Right - shadowSizeRel.Width, position.Bottom - shadowSizeRel.Height, positionZ + depth ); 3408 gradientPoints[5] = new Point3D( position.Right - shadowSizeRel.Width, position.Top + shadowSizeRel.Height, positionZ + depth ); 3736 cubePoints[2] = new Point3D( position.Right, position.Bottom, positionZ + depth ); 3737 cubePoints[3] = new Point3D( position.Right, position.Y, positionZ + depth ); 3742 cubePoints[6] = new Point3D( position.Right, position.Bottom, positionZ ); 3743 cubePoints[7] = new Point3D( position.Right, position.Y, positionZ ); 3981 cubePoints[2] = new Point3D( position.Right, position.Bottom, positionZ + depth / 2f ); 3982 cubePoints[3] = new Point3D( position.Right, position.Y, positionZ + depth / 2f ); 3992 cubePoints[0] = new Point3D( position.Right, position.Y, positionZ + depth / 2f ); 3995 cubePoints[3] = new Point3D( position.Right, position.Bottom, positionZ + depth / 2f ); 3998 cubePoints[4] = new Point3D( position.Right, middleYValue, positionZ + depth ); 4001 cubePoints[7] = new Point3D( position.Right, middleYValue, positionZ );
Common\General\GridTickMarks.cs (2)
1473 second.X = plotArea.Right; 1571 second.X = plotArea.Right;
Common\General\ImageMap.cs (1)
275coord[2] = rect.Right;
Common\General\Label.cs (14)
1279 new PointF(labelRect.Right, labelRect.Y), 1280 new PointF(labelRect.Right, labelRect.Bottom), 1626rect.X = rectLabels.Right - _axis.unRotatedLabelSize; 1701rect.X = rect.Right - _axis.totlaGroupingLabelsSize - _axis.totlaGroupingLabelsSizeAdjustment;// + Axis.elementSpacing * 0.25f; 2128rect.X = rectLabels.Right - _axis.unRotatedLabelSize; 2220rect.X = rect.Right - _axis.totlaGroupingLabelsSize - _axis.totlaGroupingLabelsSizeAdjustment;// + Axis.elementSpacing * 0.25f; 2302rectPoints[0] = new Point3D(rect.Right, rect.Y, labelsZPosition); 2303rectPoints[1] = new Point3D(rect.Right, rect.Y + rect.Height / 2f, labelsZPosition); 2304rectPoints[2] = new Point3D(rect.Right, rect.Bottom, labelsZPosition); 2318rect.Width = rect.Right - rectPoints[1].X; 2326rectPoints[2] = new Point3D(rect.Right, rect.Bottom, labelsZPosition); 2341rect.Width = rightLabelsRect.Right - rect.X; 2357rectPoints[2] = new Point3D(rect.Right, rect.Y, labelsZPosition); 2373rect.Width = rightLabelsRect.Right - rect.X;
Common\General\Legend.cs (24)
1129 legendPosition.X = chartAreasRectangle.Right - legendSize.Width - elementSpacing; 1149 legendPosition.X = chartAreasRectangle.Right - legendSize.Width - elementSpacing; 1177 chartAreasRectangle.X = legendPosition.Right; 1181 legendPosition.X = chartAreasRectangle.Right - legendSize.Width - elementSpacing; 4455 new PointF(rect.Right, rect.Bottom - 1) ); 4465 new PointF(rect.Right - 1, rect.Top), 4466 new PointF(rect.Right - 1, rect.Bottom) ); 4479 new PointF(rect.Right, rect.Bottom - 1) ); 4489 new PointF(rect.Right - 1, rect.Top), 4490 new PointF(rect.Right - 1, rect.Bottom) ); 4503 new PointF(rect.Right, rect.Bottom - 1) ); 4513 new PointF(rect.Right - 1, rect.Top), 4514 new PointF(rect.Right - 1, rect.Bottom) ); 4527 new PointF(rect.Right, rect.Bottom - 1f) ); 4536 new PointF(rect.Right - 1f, rect.Top), 4537 new PointF(rect.Right - 1f, rect.Bottom) ); 4550 new PointF(rect.Right, rect.Bottom - 3) ); 4556 new PointF(rect.Right, rect.Bottom - 1) ); 4565 new PointF(rect.Right - 3, rect.Top), 4566 new PointF(rect.Right - 3, rect.Bottom) ); 4571 new PointF(rect.Right - 1, rect.Top), 4572 new PointF(rect.Right - 1, rect.Bottom) ); 4599 new RectangleF(rect.Right - 1f, rect.Top, 0f, rect.Height), 4638 new RectangleF(rect.Right - 2f, rect.Top, 1f, rect.Height),
Common\General\Selection.cs (9)
2773list.Add(new PointF(rect.Right, rect.Top + rect.Height / 2)); 2774list.Add(new PointF(rect.Right - rect.Width / 2, rect.Bottom)); 3202list.Add(new PointF(rect.Right, rect.Top)); 3203list.Add(new PointF(rect.Right, rect.Bottom)); 3209list.Add(new PointF(rect.Right, rect.Top)); 3228list.Add(new PointF(rect.Right, rect.Top)); 3232list.Add(new PointF(rect.Right, rect.Top + rect.Height / 2)); 3235list.Add(new PointF(rect.Right, rect.Bottom)); 3257list.Add(new PointF(rect.Right, rect.Top));
Common\General\SmartLabels.cs (13)
952 graph.DrawLine(calloutPen, labelRectAbs.Right, labelRectAbs.Top, labelRectAbs.Right, labelRectAbs.Bottom); 957 graph.DrawLine(calloutPen, labelRectAbs.X, labelRectAbs.Top, labelRectAbs.Right, labelRectAbs.Top); 962 graph.DrawLine(calloutPen, labelRectAbs.X, labelRectAbs.Bottom, labelRectAbs.Right, labelRectAbs.Bottom); 1051 labelPosition.Bottom > 100f || labelPosition.Right > 100f) 1094 !areaPath.IsVisible(new PointF(labelPosition.Right, labelPosition.Y)) || 1095 !areaPath.IsVisible(new PointF(labelPosition.Right, labelPosition.Bottom)) || 1224 if(point1.X >= rect.X && point1.X <= rect.Right) 1248 if(point1.X > rect.Right && point2.X > rect.Right) 1263 else if(point1.X > rect.Right && point2.X > rect.Right) 1299 intersection = CalloutAnnotation.GetIntersectionX(point1, point2, rect.Right);
Common\General\StripLine.cs (4)
444 point2.X = plotAreaPosition.Right; 561 rect.X = rect.Right; 729rotationCenter.X = rect.Right - size.Width / 2 - sizeBorder.Width; 733rotationCenter.X = (rect.Left + rect.Right) / 2;
Common\General\Title.cs (6)
1509 exactTitleRect.X = titlePosition.Right - exactTitleRect.Width; 1907 titlePosition.Width = chartAreasRectangle.Right - titlePosition.X - elementSpacing; 1921 titlePosition.Width = chartAreasRectangle.Right - titlePosition.X - elementSpacing; 1942 chartAreasRectangle.X = titlePosition.Right; 1946 titlePosition.X = chartAreasRectangle.Right - titleSize.Width - elementSpacing; 2131titlePosition.X = prevChartAreasRectangle.Right + areaSpacing;