537 writes to Y
System.Drawing (6)
commonui\System\Drawing\Advanced\RectangleF.cs (4)
100Y = value.Y; 361this.Y -= y; 396this.Y = result.Y; 462this.Y += y;
commonui\System\Drawing\Printing\PageSettings.cs (2)
248printableArea.Y = (float)UnsafeNativeMethods.GetDeviceCaps(hdc, SafeNativeMethods.PHYSICALOFFSETY) * 100 / dpiY; 255printableArea.Y = (float)UnsafeNativeMethods.GetDeviceCaps(hdc, SafeNativeMethods.PHYSICALOFFSETX) * 100 / dpiX;
System.Web.DataVisualization (265)
Common\Annotation\CalloutAnnotation.cs (1)
665 rectanglePosition.Y = rectanglePosition.Bottom;
Common\Annotation\GroupAnnotation.cs (1)
934 selectionRect.Y = selectionRect.Bottom;
Common\Annotation\ImageAnnotation.cs (1)
539 rectanglePosition.Y = rectanglePosition.Bottom;
Common\Annotation\PolygonAnnotation.cs (1)
580 rectanglePosition.Y = rectanglePosition.Bottom;
Common\Annotation\RectangleAnnotation.cs (2)
403 rectanglePosition.Y = rectanglePosition.Bottom; 641 rectanglePosition.Y = rectanglePosition.Bottom;
Common\Annotation\TextAnnotation.cs (6)
433 textPosition.Y = textPosition.Bottom; 539 textPositionWithSpacing.Y += textSpacing.Y * spacingScaleY; 558 textPositionWithSpacing.Y = textPosition.Y; 561 textPositionWithSpacing.Y += textSpacing.Y / 2f; 658textActualPosition.Y += textPositionWithSpacing.Height - textSize.Height; 664textActualPosition.Y += (textPositionWithSpacing.Height - textSize.Height) / 2f;
Common\Borders3D\EmbedBorder.cs (9)
684 rect.Y += sizeLeftTop.Height; 864 areasRect.Y += relSizeLeftTop.Height; 879 areasRect.Y -= 100f - areasRect.Bottom; 955 shadowRect.Y -= radius * 0.3f; 964 shadowRect.Y += radius * 0.3f; 1000 screwRect.Y = shadowRect.Y + offset; 1011 screwRect.Y = shadowRect.Bottom - offset - screwRect.Height; 1016 screwRect.Y = shadowRect.Bottom - offset - screwRect.Height; 1040 shadowRect.Y -= 0.5f*radius;
Common\Borders3D\EmbossBorder.cs (4)
125 areasRect.Y += borderSize.Height; 135 areasRect.Y -= 100f - areasRect.Height; 214 shadowRect.Y = absolute.Y + radius / 3f; 222shadowRect.Y = absolute.Y + 3f * resolution / 96.0f;
Common\ChartTypes\BarChart.cs (7)
559 rectSize.Y = (float)(xPosition - width/2); 918rectLabel.Y = rectSize.Y - (float)width / 2F; 1064rectLabel.Y -= (textSize.Height - rectLabel.Height) / 2f; 1468 rectSize.Y = (float)(xPosition - pointEx.width/2); 1522 rectSize.Y = area.PlotAreaPosition.Y; 1667 rectSize.Y = (float)(xPosition - pointEx.width/2); 1937rectLabel.Y = rectSize.Y - (float)width / 2F;
Common\ChartTypes\BoxPlotChart.cs (4)
438 rectSize.Y = (float)vAxis.GetPosition( point.YValues[3] ); 577 areaRect.Y = (float)Math.Min(high, low); 1226 rectSize.Y = (float)points[3].Y; 1364 areaRect.Y = (float)Math.Min(high, low);
Common\ChartTypes\ColumnChart.cs (4)
475 rectSize.Y = (float)columnStartPosition; 480 rectSize.Y = (float)height; 806 rectSize.Y = (float)columnStartPosition; 811 rectSize.Y = (float)height;
Common\ChartTypes\ErrorBarChart.cs (2)
595 areaRect.Y = (float)Math.Min(high, low); 1359 areaRect.Y = (float)Math.Min(high, low);
Common\ChartTypes\FunnelChart.cs (16)
1741 requiredSpacing.Y = plotAreaPositionAbs.Y - position.Y; 1850 labelInfo.Position.Y = (segmentInfo.Location + segmentInfo.Height / 2f) - 1933 labelInfo.Position.Y = segmentInfo.Location + 1952 labelInfo.Position.Y = segmentInfo.Location - 2002 labelInfo.Position.Y = (segmentInfo.Location + segmentInfo.Height / 2f) - 2006 labelInfo.Position.Y -= segmentInfo.Height / 2f - labelInfo.Size.Height / 2f - labelSpacing.Height; 2010 labelInfo.Position.Y += segmentInfo.Height / 2f - labelInfo.Size.Height / 2f - labelSpacing.Height; 2015 labelInfo.Position.Y = segmentInfo.Location - labelInfo.Size.Height / 2f; 2018 labelInfo.Position.Y -= labelInfo.Size.Height / 2f + labelSpacing.Height; 2022 labelInfo.Position.Y += labelInfo.Size.Height / 2f + labelSpacing.Height; 2028 labelInfo.Position.Y += segmentInfo.Height; 2035 labelInfo.Position.Y += (float)( ( (segmentInfo.EndWidth + segmentInfo.StartWidth) / 4f) * Math.Sin(this._rotation3D / 180F * Math.PI) ); 2048 labelInfo.Position.Y += shiftSize; 2182 plotAreaSpacing.Y = plotAreaPosition.Height / 2f; 2191 plotAreaPosition.Y += plotAreaSpacing.Y; 2223 plotAreaPositionAbs.Y += topSpacing;
Common\ChartTypes\PieChart.cs (13)
808 rectangle.Y += rectangle.Height * ( 1 - _sizeCorrection ) / 2; 817 rect.Y = (rect.Y - area.Position.Y) / area.Position.Height * 100f; 1488 labelRect.Y = area.Position.Y; 1495 labelRect.Y = area.Position.Y; 1502 labelRect.Y = labelPosition.Y - size.Height / 2 * 1.8f; 1819doughnutRect.Y = rectangle.Y + rectangle.Height * (1 - (100 - doughnutRadius) / 100) / 2; 1996 rect.Y = (float)startPoints[ splitIndex ]; 2049 rect.Y = (float)startPoints[ splitIndex ]; 2585 rectangle.Y += rectangle.Height * ( 1 - sizeCorrection ) / 2; 2607 rect.Y = (rect.Y - area.Position.Y) / area.Position.Height * 100f; 5356 pieRectangle.Y = pieRectangle.Y + ( oldHeight - pieRectangle.Height ) / 2F; 5467labelPosition.Y = labelPoint.Y - labelVertSize / 2; 5487labelPosition.Y = labelPoint.Y - labelVertSize / 2;
Common\ChartTypes\PointAndFigureChart.cs (2)
819 position.Y = positionY; 826 position.Y += spacing;
Common\ChartTypes\PointChart.cs (4)
1013 labelPosition.Y = position.Y - size.Height; 1017 labelPosition.Y = position.Y; 1021 labelPosition.Y = position.Y - size.Height/2F; 1024 labelPosition.Y -= 1f * pixelSize.Height;
Common\ChartTypes\StackedBarChart.cs (6)
486 areaPosition.Y = (float)Math.Floor(areaPosition.Y); 815 rectSize.Y = (float)(xPosition - width/2); 1564 rectSize.Y = (float)(pointEx.xPosition - pointEx.width/2); 1618 rectSize.Y = area.PlotAreaPosition.Y; 1729 rectSize.Y = (float)(pointEx.xPosition - pointEx.width/2); 1893rectLabel.Y = rectSize.Y - (float)width / 2F;
Common\ChartTypes\StackedColumnChart.cs (7)
492 areaPosition.Y = (float)Math.Floor(areaPosition.Y); 842 rectSize.Y = (float)zero; 847 rectSize.Y = (float)height; 1613 rectSize.Y = (float)zero; 1618 rectSize.Y = (float)height; 1772 rectSize.Y = (float)zero; 1777 rectSize.Y = (float)height;
Common\ChartTypes\StockChart.cs (4)
466 areaRect.Y = (float)Math.Min(high, low); 798 rect.Y = (float)Math.Min(open, close); 1280 areaRect.Y = (float)Math.Min(high, low); 1623 rect.Y = (float)Math.Min(open, close);
Common\General\Axis.cs (17)
1820_titlePosition.Y = ChartArea.PlotAreaPosition.Y; 1850_titlePosition.Y += ChartArea.PlotAreaPosition.Height / 2f - _titlePosition.Height / 2f; 1863_titlePosition.Y = ChartArea.PlotAreaPosition.Y; 1893_titlePosition.Y += ChartArea.PlotAreaPosition.Height / 2f - _titlePosition.Height / 2f; 1905_titlePosition.Y = ChartArea.PlotAreaPosition.Y - titleSizeWithoutSpacing - axisSize; 1921_titlePosition.Y = ChartArea.PlotAreaPosition.Bottom + axisSize; 1978transformedTitlePosition.Y -= transformedTitlePosition.Height; 2052rect.Y += (rect.Height - rect.Width) / 2f; 2153rect.Y += (rect.Height - rect.Width) / 2f; 4957curLabelPosition.Y = labelPosition[0].Y - textSize.Height; 4962curLabelPosition.Y = labelPosition[0].Y; 5308rect.Y = (float)Math.Min(fromPosition, toPosition); 5411rect.Y = (float)Math.Min(fromPosition, toPosition); 5433rect.Y -= rect.Height / 2F; 5556labelPosition.Y = labelPosition.Y + labelPosition.Height / 2f - height / 2f; 5664rect.Y = (float)Math.Min(fromPosition, toPosition); 5670rect.Y -= rect.Height / 2F;
Common\General\AxisScaleSegments.cs (5)
391 shadowPartRect.Y += this.axis.ChartArea.ShadowOffset; 400 shadowPartRect.Y = shadowPartRect.Bottom - 1; 434 clipRegion.Y += this.axis.ChartArea.ShadowOffset; 697 breakPosition.Y = (float)Math.Min(from, to); 719 breakPosition.Y -= this.axis.ChartArea.BorderWidth;
Common\General\Chart.cs (5)
2201 areaPosition.Y = chartAreasRectangle.Y + row * (chartAreasRectangle.Height / areaRows) + elementSpacing; 3116 areaPlotPosition.Y += area.PlotAreaPosition.Y - areaPlotPosition.Y; 3153 rect.Y = areaPlotPosition.Y; 3162 rect.Y = (rect.Y - area.Position.Y) / area.Position.Height * 100f; 3218 areaPosition.Y = masterArea.Position.Y;
Common\General\ChartArea.cs (9)
1471 plottingRect.Y += (Position.Height / 100F) * InnerPlotPosition.Y; 1568 plottingRect.Y += areaWallSize.Height; 1684 plottingRect.Y += axisSize; 1743rectLabelSideSpacing.Y = (float)Math.Max(offset, rectLabelSideSpacing.Y); 1771plottingRect.Y -= delta; 1806 plottingRect.Y += yTitleSize; 1819 rect.Y += (rect.Height - rect.Width) / 2f; 2091plottingRect.Y += (Position.Height / 100F) * InnerPlotPosition.Y; 2623 plotAreaRectAbs.Y += labelsSize;
Common\General\ChartArea3D.cs (2)
771 wallRect2D.Y = position.Bottom - areaSceneWallWidth.Height; 1281 plottingRect.Y += (area.Position.Height / 100F) * area.InnerPlotPosition.Y;
Common\General\ChartGraphics.cs (35)
723rect.Y = point.Y - imageScaleRect.Height / 2F; 779rect.Y = point.Y - ((float)markerSize) / 2F; 838shadowRect.Y += shadowSize; 1039diamondRect.Y = point.Y - ((float)diamondSize) / 2F - shadowSize; 1878newRect.Y = absPosition.Y - absPosition.Width / 2F; 1902newRect.Y += absPosition.Height; 1934newRect.Y = rotationPoint.Y - absPosition.Width / 2F; 2003labelRect.Y = absPosition.Bottom - labelSize.Height; 2007labelRect.Y = absPosition.Y; 2011labelRect.Y = absPosition.Y + absPosition.Height / 2F - labelSize.Height / 2F; 2057boundaryRect.Y = 0; 2077absPosition.Y = labelRect.Y; 2085absPosition.Y = labelRect.Y; 2092absPosition.Y = labelRect.Y; 2103absPosition.Y = labelRect.Y; 2212absPosition.Y -= delta / 2f; 2297imageRect.Y = absPosition.Y + (absPosition.Height - imageAbsSize.Height) / 2; 2301imageRect.Y = absPosition.Bottom - (labelSize.Height + imageAbsSize.Height) / 2; 2305imageRect.Y = absPosition.Top + (labelSize.Height - imageAbsSize.Height) / 2; 2405 newRect.Y = centerNotRound.Y - absPosition.Width / 2F; 2878 gradientRect.Y += gradientRect.Height + 1f; 3000 gradientRect.Y = gradientRect.Bottom - (float)Math.Floor(gradientRect.Height / 3f); 3535 imageRect.Y = fillRect.Y; 3572 imageRect.Y = fillRect.Bottom - imageRect.Height; 3578 imageRect.Y = fillRect.Y + (fillRect.Height - imageRect.Height)/2; 3760offset.Y = absolute.Y + shadowOffset; 3782 offset.Y = absolute.Y + shadowOffset - 1; 4216 imageRect.Y = fillRect.Y; 4253 imageRect.Y = fillRect.Bottom - imageRect.Height; 4259 imageRect.Y = fillRect.Y + (fillRect.Height - imageRect.Height)/2; 4512 imageRect.Y = fillRect.Y; 4549 imageRect.Y = fillRect.Bottom - imageRect.Height; 4555 imageRect.Y = fillRect.Y + (fillRect.Height - imageRect.Height)/2; 4655 relative.Y = rectangle.Y * 100F / ((float)(_height - 1)); 4746 absolute.Y = rectangle.Y * (_height - 1) / 100F;
Common\General\ChartGraphics3D.cs (10)
713pieTopRectangle.Y = topFirstRectPoint.Y; 719pieBottomRectangle.Y = bottomFirstRectPoint.Y; 844pieRectangle.Y = firstRectPoint.Y; 970pieRectangle.Y = firstRectPoint.Y; 976pieDoughnutRectangle.Y = pieRectangle.Y + pieRectangle.Height * (1F - doughnutRadius) / 2F; 3305 gradientRect.Y = gradientRect.Bottom - (float)Math.Floor(gradientRect.Height / 3f); 3510 rect.Y = markerRotatedPosition.Y - ((float)markerSize)/2F; 3532rect.Y = markerRotatedPosition.Y - ((float)markerSize) / 2F; 3555shadowRect.Y += shadowSize; 3633rectNonRotated.Y = point.Y - ((float)markerRelativeSize.Height) / 2F;
Common\General\Label.cs (45)
1342 labelPosition.Y = position.Y - size.Height; 1346 labelPosition.Y = position.Y; 1350 labelPosition.Y = position.Y - size.Height/2F; 1419rectLabels.Y = (float)_axis.GetAxisPosition(); 1421rectLabels.Y = _axis.PlotAreaPosition.Y; 1422rectLabels.Y -= labelSize + _axis.markSize; 1432rectLabels.Y = (float)_axis.GetAxisPosition(); 1434rectLabels.Y = _axis.PlotAreaPosition.Bottom; 1435rectLabels.Y += _axis.markSize; 1457boundaryRect.Y += _axis.totlaGroupingLabelsSize; 1655rect.Y = rectLabels.Bottom - _axis.unRotatedLabelSize; 1664rect.Y += rect.Height; 1678rect.Y += rect.Height; 1710rect.Y += _axis.totlaGroupingLabelsSizeAdjustment; 1713rect.Y += _axis.groupingLabelSizes[index - 1]; 1719rect.Y = rect.Bottom - _axis.totlaGroupingLabelsSize - _axis.totlaGroupingLabelsSizeAdjustment; 1722rect.Y += _axis.groupingLabelSizes[index - 1]; 1759rect.Y = (float)Math.Min(fromPosition, toPosition); 1766rect.Y -= rect.Height / 2F; 1882 rectLabels.Y = (float)labelsAxis.GetAxisPosition(); 1887 rectLabels.Y = labelsAxis.PlotAreaPosition.Y; 1890 rectLabels.Y -= rectLabels.Height; 1894 rectLabels.Y -= labelsAxis.markSize; 1906 rectLabels.Y = (float)labelsAxis.GetAxisPosition(); 1911 rectLabels.Y = labelsAxis.PlotAreaPosition.Bottom; 1913 rectLabels.Y += labelsAxis.markSize; 2050boundaryRect.Y += _axis.totlaGroupingLabelsSize; 2163rect.Y = rectLabels.Bottom - _axis.unRotatedLabelSize; 2173rect.Y += rect.Height; 2190rect.Y += rect.Height; 2229rect.Y += _axis.totlaGroupingLabelsSizeAdjustment; 2232rect.Y += _axis.groupingLabelSizes[index - 1]; 2238rect.Y = rect.Bottom - _axis.totlaGroupingLabelsSize - _axis.totlaGroupingLabelsSizeAdjustment; 2241rect.Y += _axis.groupingLabelSizes[index - 1]; 2277rect.Y = (float)Math.Min(fromPosition, toPosition); 2288rect.Y -= rect.Height / 2F; 2306rect.Y = rectPoints[0].Y; 2316rect.Y = rectPoints[0].Y; 2338rect.Y = rectPoints[0].Y; 2346rect.Y = rectPoints[2].Y; 2365rect.Y = rectPoints[1].Y; 2370rect.Y = rectPoints[2].Y; 2378rect.Y += this._axis.markSize / 4f; 2384rect.Y = rectPoints[0].Y; 2392rect.Y += this._axis.markSize / 4f;
Common\General\Legend.cs (13)
1122 legendPosition.Y = chartAreasRectangle.Y + elementSpacing; 1138 chartAreasRectangle.Y = legendPosition.Bottom; 1142 legendPosition.Y = chartAreasRectangle.Bottom - legendSize.Height - elementSpacing; 1164 legendPosition.Y = chartAreasRectangle.Y + elementSpacing; 1168 legendPosition.Y = chartAreasRectangle.Bottom - legendSize.Height - elementSpacing; 1172 legendPosition.Y = chartAreasRectangle.Y + (chartAreasRectangle.Height - legendSize.Height) / 2F; 1184 legendPosition.Y = chartAreasRectangle.Y + elementSpacing; 1188 legendPosition.Y = chartAreasRectangle.Bottom - legendSize.Height - elementSpacing; 1192 legendPosition.Y = chartAreasRectangle.Y + (chartAreasRectangle.Height - legendSize.Height) / 2F; 4952 legendPosition.Y -= areaSpacing; 4955 legendPosition.Y -= legendPosition.Height; 4960 legendPosition.Y += areaSpacing; 4963 legendPosition.Y = area.Position.Bottom + areaSpacing;
Common\General\SmartLabels.cs (3)
1453 labelPosition.Y = position.Y - size.Height; 1457 labelPosition.Y = position.Y; 1461 labelPosition.Y = position.Y - size.Height/2F;
Common\General\StripLine.cs (6)
369 rect.Y = (float)Math.Min(pos1, pos2); 377 rect.Y = plotAreaPosition.Y; 486 lineRect.Y = point1.Y - relBorderWidth.Height / 2f; 493 lineRect.Y = point1.Y; 581 rect.Y = rect.Bottom; 624 rect.Y = point1.Y;
Common\General\Title.cs (21)
1430 titlePosition.Y = titlePosition.Y - titlePosition.Height; 1436 titlePosition.Y = titlePosition.Y - titlePosition.Height/2f; 1494 exactTitleRect.Y = titlePosition.Bottom - exactTitleRect.Height; 1500 exactTitleRect.Y = titlePosition.Y + 1568 absPosition.Y += this.titleBorderSpacing / 2f; 1759shadowPosition.Y -= 1; 1766shadowPosition.Y += 2; 1783shadowPosition.Y += 1; 1790shadowPosition.Y -= 2; 1808shadowPosition.Y += shadowOffset; 1905 titlePosition.Y = chartAreasRectangle.Y + elementSpacing; 1915 chartAreasRectangle.Y = titlePosition.Bottom; 1919 titlePosition.Y = chartAreasRectangle.Bottom - titleSize.Height - elementSpacing; 1933 titlePosition.Y = chartAreasRectangle.Y + elementSpacing; 1947 titlePosition.Y = chartAreasRectangle.Y + elementSpacing; 1964 titlePosition.Y += this.DockingOffset; 2099 titlePosition.Y -= areaSpacing; 2102 titlePosition.Y -= titlePosition.Height; 2103prevChartAreasRectangle.Y -= titlePosition.Height + areaSpacing; 2109 titlePosition.Y += areaSpacing; 2112titlePosition.Y = prevChartAreasRectangle.Bottom + areaSpacing;
System.Windows.Forms.DataVisualization (266)
Common\Annotation\CalloutAnnotation.cs (1)
665 rectanglePosition.Y = rectanglePosition.Bottom;
Common\Annotation\GroupAnnotation.cs (1)
934 selectionRect.Y = selectionRect.Bottom;
Common\Annotation\ImageAnnotation.cs (1)
539 rectanglePosition.Y = rectanglePosition.Bottom;
Common\Annotation\PolygonAnnotation.cs (1)
580 rectanglePosition.Y = rectanglePosition.Bottom;
Common\Annotation\RectangleAnnotation.cs (2)
403 rectanglePosition.Y = rectanglePosition.Bottom; 641 rectanglePosition.Y = rectanglePosition.Bottom;
Common\Annotation\TextAnnotation.cs (6)
433 textPosition.Y = textPosition.Bottom; 539 textPositionWithSpacing.Y += textSpacing.Y * spacingScaleY; 558 textPositionWithSpacing.Y = textPosition.Y; 561 textPositionWithSpacing.Y += textSpacing.Y / 2f; 658textActualPosition.Y += textPositionWithSpacing.Height - textSize.Height; 664textActualPosition.Y += (textPositionWithSpacing.Height - textSize.Height) / 2f;
Common\Borders3D\EmbedBorder.cs (9)
684 rect.Y += sizeLeftTop.Height; 864 areasRect.Y += relSizeLeftTop.Height; 879 areasRect.Y -= 100f - areasRect.Bottom; 955 shadowRect.Y -= radius * 0.3f; 964 shadowRect.Y += radius * 0.3f; 1000 screwRect.Y = shadowRect.Y + offset; 1011 screwRect.Y = shadowRect.Bottom - offset - screwRect.Height; 1016 screwRect.Y = shadowRect.Bottom - offset - screwRect.Height; 1040 shadowRect.Y -= 0.5f*radius;
Common\Borders3D\EmbossBorder.cs (4)
125 areasRect.Y += borderSize.Height; 135 areasRect.Y -= 100f - areasRect.Height; 214 shadowRect.Y = absolute.Y + radius / 3f; 222shadowRect.Y = absolute.Y + 3f * resolution / 96.0f;
Common\ChartTypes\BarChart.cs (7)
559 rectSize.Y = (float)(xPosition - width/2); 918rectLabel.Y = rectSize.Y - (float)width / 2F; 1064rectLabel.Y -= (textSize.Height - rectLabel.Height) / 2f; 1468 rectSize.Y = (float)(xPosition - pointEx.width/2); 1522 rectSize.Y = area.PlotAreaPosition.Y; 1667 rectSize.Y = (float)(xPosition - pointEx.width/2); 1937rectLabel.Y = rectSize.Y - (float)width / 2F;
Common\ChartTypes\BoxPlotChart.cs (4)
438 rectSize.Y = (float)vAxis.GetPosition( point.YValues[3] ); 577 areaRect.Y = (float)Math.Min(high, low); 1226 rectSize.Y = (float)points[3].Y; 1364 areaRect.Y = (float)Math.Min(high, low);
Common\ChartTypes\ColumnChart.cs (4)
475 rectSize.Y = (float)columnStartPosition; 480 rectSize.Y = (float)height; 806 rectSize.Y = (float)columnStartPosition; 811 rectSize.Y = (float)height;
Common\ChartTypes\ErrorBarChart.cs (2)
595 areaRect.Y = (float)Math.Min(high, low); 1359 areaRect.Y = (float)Math.Min(high, low);
Common\ChartTypes\FunnelChart.cs (16)
1741 requiredSpacing.Y = plotAreaPositionAbs.Y - position.Y; 1850 labelInfo.Position.Y = (segmentInfo.Location + segmentInfo.Height / 2f) - 1933 labelInfo.Position.Y = segmentInfo.Location + 1952 labelInfo.Position.Y = segmentInfo.Location - 2002 labelInfo.Position.Y = (segmentInfo.Location + segmentInfo.Height / 2f) - 2006 labelInfo.Position.Y -= segmentInfo.Height / 2f - labelInfo.Size.Height / 2f - labelSpacing.Height; 2010 labelInfo.Position.Y += segmentInfo.Height / 2f - labelInfo.Size.Height / 2f - labelSpacing.Height; 2015 labelInfo.Position.Y = segmentInfo.Location - labelInfo.Size.Height / 2f; 2018 labelInfo.Position.Y -= labelInfo.Size.Height / 2f + labelSpacing.Height; 2022 labelInfo.Position.Y += labelInfo.Size.Height / 2f + labelSpacing.Height; 2028 labelInfo.Position.Y += segmentInfo.Height; 2035 labelInfo.Position.Y += (float)( ( (segmentInfo.EndWidth + segmentInfo.StartWidth) / 4f) * Math.Sin(this._rotation3D / 180F * Math.PI) ); 2048 labelInfo.Position.Y += shiftSize; 2182 plotAreaSpacing.Y = plotAreaPosition.Height / 2f; 2191 plotAreaPosition.Y += plotAreaSpacing.Y; 2223 plotAreaPositionAbs.Y += topSpacing;
Common\ChartTypes\PieChart.cs (13)
808 rectangle.Y += rectangle.Height * ( 1 - _sizeCorrection ) / 2; 817 rect.Y = (rect.Y - area.Position.Y) / area.Position.Height * 100f; 1488 labelRect.Y = area.Position.Y; 1495 labelRect.Y = area.Position.Y; 1502 labelRect.Y = labelPosition.Y - size.Height / 2 * 1.8f; 1819doughnutRect.Y = rectangle.Y + rectangle.Height * (1 - (100 - doughnutRadius) / 100) / 2; 1996 rect.Y = (float)startPoints[ splitIndex ]; 2049 rect.Y = (float)startPoints[ splitIndex ]; 2585 rectangle.Y += rectangle.Height * ( 1 - sizeCorrection ) / 2; 2607 rect.Y = (rect.Y - area.Position.Y) / area.Position.Height * 100f; 5356 pieRectangle.Y = pieRectangle.Y + ( oldHeight - pieRectangle.Height ) / 2F; 5467labelPosition.Y = labelPoint.Y - labelVertSize / 2; 5487labelPosition.Y = labelPoint.Y - labelVertSize / 2;
Common\ChartTypes\PointAndFigureChart.cs (2)
819 position.Y = positionY; 826 position.Y += spacing;
Common\ChartTypes\PointChart.cs (4)
1013 labelPosition.Y = position.Y - size.Height; 1017 labelPosition.Y = position.Y; 1021 labelPosition.Y = position.Y - size.Height/2F; 1024 labelPosition.Y -= 1f * pixelSize.Height;
Common\ChartTypes\StackedBarChart.cs (6)
486 areaPosition.Y = (float)Math.Floor(areaPosition.Y); 815 rectSize.Y = (float)(xPosition - width/2); 1564 rectSize.Y = (float)(pointEx.xPosition - pointEx.width/2); 1618 rectSize.Y = area.PlotAreaPosition.Y; 1729 rectSize.Y = (float)(pointEx.xPosition - pointEx.width/2); 1893rectLabel.Y = rectSize.Y - (float)width / 2F;
Common\ChartTypes\StackedColumnChart.cs (7)
492 areaPosition.Y = (float)Math.Floor(areaPosition.Y); 842 rectSize.Y = (float)zero; 847 rectSize.Y = (float)height; 1613 rectSize.Y = (float)zero; 1618 rectSize.Y = (float)height; 1772 rectSize.Y = (float)zero; 1777 rectSize.Y = (float)height;
Common\ChartTypes\StockChart.cs (4)
466 areaRect.Y = (float)Math.Min(high, low); 798 rect.Y = (float)Math.Min(open, close); 1280 areaRect.Y = (float)Math.Min(high, low); 1623 rect.Y = (float)Math.Min(open, close);
Common\General\Axis.cs (17)
1820_titlePosition.Y = ChartArea.PlotAreaPosition.Y; 1850_titlePosition.Y += ChartArea.PlotAreaPosition.Height / 2f - _titlePosition.Height / 2f; 1863_titlePosition.Y = ChartArea.PlotAreaPosition.Y; 1893_titlePosition.Y += ChartArea.PlotAreaPosition.Height / 2f - _titlePosition.Height / 2f; 1905_titlePosition.Y = ChartArea.PlotAreaPosition.Y - titleSizeWithoutSpacing - axisSize; 1921_titlePosition.Y = ChartArea.PlotAreaPosition.Bottom + axisSize; 1978transformedTitlePosition.Y -= transformedTitlePosition.Height; 2052rect.Y += (rect.Height - rect.Width) / 2f; 2153rect.Y += (rect.Height - rect.Width) / 2f; 4957curLabelPosition.Y = labelPosition[0].Y - textSize.Height; 4962curLabelPosition.Y = labelPosition[0].Y; 5308rect.Y = (float)Math.Min(fromPosition, toPosition); 5411rect.Y = (float)Math.Min(fromPosition, toPosition); 5433rect.Y -= rect.Height / 2F; 5556labelPosition.Y = labelPosition.Y + labelPosition.Height / 2f - height / 2f; 5664rect.Y = (float)Math.Min(fromPosition, toPosition); 5670rect.Y -= rect.Height / 2F;
Common\General\AxisScaleSegments.cs (5)
391 shadowPartRect.Y += this.axis.ChartArea.ShadowOffset; 400 shadowPartRect.Y = shadowPartRect.Bottom - 1; 434 clipRegion.Y += this.axis.ChartArea.ShadowOffset; 697 breakPosition.Y = (float)Math.Min(from, to); 719 breakPosition.Y -= this.axis.ChartArea.BorderWidth;
Common\General\Chart.cs (5)
2201 areaPosition.Y = chartAreasRectangle.Y + row * (chartAreasRectangle.Height / areaRows) + elementSpacing; 3116 areaPlotPosition.Y += area.PlotAreaPosition.Y - areaPlotPosition.Y; 3153 rect.Y = areaPlotPosition.Y; 3162 rect.Y = (rect.Y - area.Position.Y) / area.Position.Height * 100f; 3218 areaPosition.Y = masterArea.Position.Y;
Common\General\ChartArea.cs (9)
1471 plottingRect.Y += (Position.Height / 100F) * InnerPlotPosition.Y; 1568 plottingRect.Y += areaWallSize.Height; 1684 plottingRect.Y += axisSize; 1743rectLabelSideSpacing.Y = (float)Math.Max(offset, rectLabelSideSpacing.Y); 1771plottingRect.Y -= delta; 1806 plottingRect.Y += yTitleSize; 1819 rect.Y += (rect.Height - rect.Width) / 2f; 2091plottingRect.Y += (Position.Height / 100F) * InnerPlotPosition.Y; 2623 plotAreaRectAbs.Y += labelsSize;
Common\General\ChartArea3D.cs (2)
771 wallRect2D.Y = position.Bottom - areaSceneWallWidth.Height; 1281 plottingRect.Y += (area.Position.Height / 100F) * area.InnerPlotPosition.Y;
Common\General\ChartGraphics.cs (35)
723rect.Y = point.Y - imageScaleRect.Height / 2F; 779rect.Y = point.Y - ((float)markerSize) / 2F; 838shadowRect.Y += shadowSize; 1039diamondRect.Y = point.Y - ((float)diamondSize) / 2F - shadowSize; 1878newRect.Y = absPosition.Y - absPosition.Width / 2F; 1902newRect.Y += absPosition.Height; 1934newRect.Y = rotationPoint.Y - absPosition.Width / 2F; 2003labelRect.Y = absPosition.Bottom - labelSize.Height; 2007labelRect.Y = absPosition.Y; 2011labelRect.Y = absPosition.Y + absPosition.Height / 2F - labelSize.Height / 2F; 2057boundaryRect.Y = 0; 2077absPosition.Y = labelRect.Y; 2085absPosition.Y = labelRect.Y; 2092absPosition.Y = labelRect.Y; 2103absPosition.Y = labelRect.Y; 2212absPosition.Y -= delta / 2f; 2297imageRect.Y = absPosition.Y + (absPosition.Height - imageAbsSize.Height) / 2; 2301imageRect.Y = absPosition.Bottom - (labelSize.Height + imageAbsSize.Height) / 2; 2305imageRect.Y = absPosition.Top + (labelSize.Height - imageAbsSize.Height) / 2; 2405 newRect.Y = centerNotRound.Y - absPosition.Width / 2F; 2878 gradientRect.Y += gradientRect.Height + 1f; 3000 gradientRect.Y = gradientRect.Bottom - (float)Math.Floor(gradientRect.Height / 3f); 3535 imageRect.Y = fillRect.Y; 3572 imageRect.Y = fillRect.Bottom - imageRect.Height; 3578 imageRect.Y = fillRect.Y + (fillRect.Height - imageRect.Height)/2; 3760offset.Y = absolute.Y + shadowOffset; 3782 offset.Y = absolute.Y + shadowOffset - 1; 4216 imageRect.Y = fillRect.Y; 4253 imageRect.Y = fillRect.Bottom - imageRect.Height; 4259 imageRect.Y = fillRect.Y + (fillRect.Height - imageRect.Height)/2; 4512 imageRect.Y = fillRect.Y; 4549 imageRect.Y = fillRect.Bottom - imageRect.Height; 4555 imageRect.Y = fillRect.Y + (fillRect.Height - imageRect.Height)/2; 4655 relative.Y = rectangle.Y * 100F / ((float)(_height - 1)); 4746 absolute.Y = rectangle.Y * (_height - 1) / 100F;
Common\General\ChartGraphics3D.cs (10)
713pieTopRectangle.Y = topFirstRectPoint.Y; 719pieBottomRectangle.Y = bottomFirstRectPoint.Y; 844pieRectangle.Y = firstRectPoint.Y; 970pieRectangle.Y = firstRectPoint.Y; 976pieDoughnutRectangle.Y = pieRectangle.Y + pieRectangle.Height * (1F - doughnutRadius) / 2F; 3305 gradientRect.Y = gradientRect.Bottom - (float)Math.Floor(gradientRect.Height / 3f); 3510 rect.Y = markerRotatedPosition.Y - ((float)markerSize)/2F; 3532rect.Y = markerRotatedPosition.Y - ((float)markerSize) / 2F; 3555shadowRect.Y += shadowSize; 3633rectNonRotated.Y = point.Y - ((float)markerRelativeSize.Height) / 2F;
Common\General\Label.cs (45)
1342 labelPosition.Y = position.Y - size.Height; 1346 labelPosition.Y = position.Y; 1350 labelPosition.Y = position.Y - size.Height/2F; 1419rectLabels.Y = (float)_axis.GetAxisPosition(); 1421rectLabels.Y = _axis.PlotAreaPosition.Y; 1422rectLabels.Y -= labelSize + _axis.markSize; 1432rectLabels.Y = (float)_axis.GetAxisPosition(); 1434rectLabels.Y = _axis.PlotAreaPosition.Bottom; 1435rectLabels.Y += _axis.markSize; 1457boundaryRect.Y += _axis.totlaGroupingLabelsSize; 1655rect.Y = rectLabels.Bottom - _axis.unRotatedLabelSize; 1664rect.Y += rect.Height; 1678rect.Y += rect.Height; 1710rect.Y += _axis.totlaGroupingLabelsSizeAdjustment; 1713rect.Y += _axis.groupingLabelSizes[index - 1]; 1719rect.Y = rect.Bottom - _axis.totlaGroupingLabelsSize - _axis.totlaGroupingLabelsSizeAdjustment; 1722rect.Y += _axis.groupingLabelSizes[index - 1]; 1759rect.Y = (float)Math.Min(fromPosition, toPosition); 1766rect.Y -= rect.Height / 2F; 1882 rectLabels.Y = (float)labelsAxis.GetAxisPosition(); 1887 rectLabels.Y = labelsAxis.PlotAreaPosition.Y; 1890 rectLabels.Y -= rectLabels.Height; 1894 rectLabels.Y -= labelsAxis.markSize; 1906 rectLabels.Y = (float)labelsAxis.GetAxisPosition(); 1911 rectLabels.Y = labelsAxis.PlotAreaPosition.Bottom; 1913 rectLabels.Y += labelsAxis.markSize; 2050boundaryRect.Y += _axis.totlaGroupingLabelsSize; 2163rect.Y = rectLabels.Bottom - _axis.unRotatedLabelSize; 2173rect.Y += rect.Height; 2190rect.Y += rect.Height; 2229rect.Y += _axis.totlaGroupingLabelsSizeAdjustment; 2232rect.Y += _axis.groupingLabelSizes[index - 1]; 2238rect.Y = rect.Bottom - _axis.totlaGroupingLabelsSize - _axis.totlaGroupingLabelsSizeAdjustment; 2241rect.Y += _axis.groupingLabelSizes[index - 1]; 2277rect.Y = (float)Math.Min(fromPosition, toPosition); 2288rect.Y -= rect.Height / 2F; 2306rect.Y = rectPoints[0].Y; 2316rect.Y = rectPoints[0].Y; 2338rect.Y = rectPoints[0].Y; 2346rect.Y = rectPoints[2].Y; 2365rect.Y = rectPoints[1].Y; 2370rect.Y = rectPoints[2].Y; 2378rect.Y += this._axis.markSize / 4f; 2384rect.Y = rectPoints[0].Y; 2392rect.Y += this._axis.markSize / 4f;
Common\General\Legend.cs (13)
1122 legendPosition.Y = chartAreasRectangle.Y + elementSpacing; 1138 chartAreasRectangle.Y = legendPosition.Bottom; 1142 legendPosition.Y = chartAreasRectangle.Bottom - legendSize.Height - elementSpacing; 1164 legendPosition.Y = chartAreasRectangle.Y + elementSpacing; 1168 legendPosition.Y = chartAreasRectangle.Bottom - legendSize.Height - elementSpacing; 1172 legendPosition.Y = chartAreasRectangle.Y + (chartAreasRectangle.Height - legendSize.Height) / 2F; 1184 legendPosition.Y = chartAreasRectangle.Y + elementSpacing; 1188 legendPosition.Y = chartAreasRectangle.Bottom - legendSize.Height - elementSpacing; 1192 legendPosition.Y = chartAreasRectangle.Y + (chartAreasRectangle.Height - legendSize.Height) / 2F; 4952 legendPosition.Y -= areaSpacing; 4955 legendPosition.Y -= legendPosition.Height; 4960 legendPosition.Y += areaSpacing; 4963 legendPosition.Y = area.Position.Bottom + areaSpacing;
Common\General\SmartLabels.cs (3)
1453 labelPosition.Y = position.Y - size.Height; 1457 labelPosition.Y = position.Y; 1461 labelPosition.Y = position.Y - size.Height/2F;
Common\General\StripLine.cs (6)
369 rect.Y = (float)Math.Min(pos1, pos2); 377 rect.Y = plotAreaPosition.Y; 486 lineRect.Y = point1.Y - relBorderWidth.Height / 2f; 493 lineRect.Y = point1.Y; 581 rect.Y = rect.Bottom; 624 rect.Y = point1.Y;
Common\General\Title.cs (21)
1430 titlePosition.Y = titlePosition.Y - titlePosition.Height; 1436 titlePosition.Y = titlePosition.Y - titlePosition.Height/2f; 1494 exactTitleRect.Y = titlePosition.Bottom - exactTitleRect.Height; 1500 exactTitleRect.Y = titlePosition.Y + 1568 absPosition.Y += this.titleBorderSpacing / 2f; 1759shadowPosition.Y -= 1; 1766shadowPosition.Y += 2; 1783shadowPosition.Y += 1; 1790shadowPosition.Y -= 2; 1808shadowPosition.Y += shadowOffset; 1905 titlePosition.Y = chartAreasRectangle.Y + elementSpacing; 1915 chartAreasRectangle.Y = titlePosition.Bottom; 1919 titlePosition.Y = chartAreasRectangle.Bottom - titleSize.Height - elementSpacing; 1933 titlePosition.Y = chartAreasRectangle.Y + elementSpacing; 1947 titlePosition.Y = chartAreasRectangle.Y + elementSpacing; 1964 titlePosition.Y += this.DockingOffset; 2099 titlePosition.Y -= areaSpacing; 2102 titlePosition.Y -= titlePosition.Height; 2103prevChartAreasRectangle.Y -= titlePosition.Height + areaSpacing; 2109 titlePosition.Y += areaSpacing; 2112titlePosition.Y = prevChartAreasRectangle.Bottom + areaSpacing;
WinForm\Utilities\AccessibleObject.cs (1)
305absolute.Y = bounds.Y * (this._chart.Height - 1) / 100F;
972 references to Y
System.Drawing (56)
commonui\System\Drawing\Advanced\GPRECTF.cs (1)
31Y = rect.Y;
commonui\System\Drawing\Advanced\GraphicsPath.cs (4)
777AddArc(rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle); 1134int status = SafeNativeMethods.Gdip.GdipAddPathRectangle(new HandleRef(this, nativePath), rect.X, rect.Y, 1201AddEllipse(rect.X, rect.Y, rect.Width, rect.Height); 1655srcRect.Y,
commonui\System\Drawing\Advanced\RectangleF.cs (30)
96return new PointF(X, Y); 208return Y; 236return Y + Height; 267(comp.Y == this.Y) && 281&& left.Y == right.Y 308this.Y <= y && 309y < this.Y + this.Height; 336(this.Y <= rect.Y) && 337((rect.Y + rect.Height) <= (this.Y + this.Height)); 347(((UInt32)Y << 13) | ((UInt32)Y >> 19)) ^ 396this.Y = result.Y; 410float y1 = Math.Max(a.Y, b.Y); 411float y2 = Math.Min(a.Y + a.Height, b.Y + b.Height); 429(rect.Y < this.Y + this.Height) && 430(this.Y < rect.Y + rect.Height); 442float y1 = Math.Min(a.Y, b.Y); 443float y2 = Math.Max(a.Y + a.Height, b.Y + b.Height); 470return new GPRECTF(X, Y, Width, Height); 488return "{X=" + X.ToString(CultureInfo.CurrentCulture) + ",Y=" + Y.ToString(CultureInfo.CurrentCulture) +
commonui\System\Drawing\Advanced\TextureBrush.cs (2)
124dstRect.Y, 222dstRect.Y,
commonui\System\Drawing\Bitmap.cs (1)
532rect.Y,
commonui\System\Drawing\Graphics.cs (14)
1278DrawArc(pen, rect.X, rect.Y, rect.Width, rect.Height, startAngle, sweepAngle); 1516DrawEllipse(pen, rect.X, rect.Y, rect.Width, rect.Height); 1575DrawPie(pen, rect.X, rect.Y, rect.Width, rect.Height, startAngle, 1992FillRectangle(brush, rect.X, rect.Y, rect.Width, rect.Height); 2179FillEllipse(brush, rect.X, rect.Y, rect.Width, rect.Height); 2778DrawImage(image, rect.X, rect.Y, rect.Width, rect.Height); 3001srcRect.Y, 3055destRect.Y, 3059srcRect.Y, 3131srcRect.Y, 3189srcRect.Y, 3977int status = SafeNativeMethods.Gdip.GdipSetClipRect(new HandleRef(this, this.NativeGraphics), rect.X, rect.Y, 4037int status = SafeNativeMethods.Gdip.GdipSetClipRect(new HandleRef(this, this.NativeGraphics), rect.X, rect.Y, 4378int status = SafeNativeMethods.Gdip.GdipIsVisibleRect(new HandleRef(this, this.NativeGraphics), rect.X, rect.Y,
commonui\System\Drawing\Rectangle.cs (3)
301(int)Math.Ceiling(value.Y), 313(int)value.Y, 325(int)Math.Round(value.Y),
commonui\System\Drawing\Region.cs (1)
869int status = SafeNativeMethods.Gdip.GdipIsVisibleRegionRect(new HandleRef(this, nativeRegion), rect.X, rect.Y,
System.Web.DataVisualization (457)
Common\Annotation\AnnotationBase.cs (7)
2065 rect.Y - markerSizeRel.Height/2f, 2114 handlePosition = new PointF(rect.X + rect.Width / 2f, rect.Y); 2117 handlePosition = new PointF(rect.Right, rect.Y); 2120 handlePosition = new PointF(rect.Right, rect.Y + rect.Height / 2f); 2132 handlePosition = new PointF(rect.X, rect.Y + rect.Height / 2f); 2660 relativeY = contentPosition.Y * groupScaleY; 2907 double newY = position.Y;
Common\Annotation\CalloutAnnotation.cs (54)
671 float.IsNaN(rectanglePosition.Y) || 946 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 958 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 969 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 978 anchorPoint.Y >= rectanglePosition.Y) 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); 989 anchorPoint.Y < rectanglePosition.Y) 992 points[1] = new PointF(rectanglePositionAbs.Right - size, rectanglePositionAbs.Y); 994 points[3] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y + size); 1001 anchorPoint.Y < rectanglePosition.Y) 1004 points[1] = new PointF(rectanglePositionAbs.X + rectanglePositionAbs.Width/2f - size, rectanglePositionAbs.Y); 1006 points[3] = new PointF(rectanglePositionAbs.X + rectanglePositionAbs.Width/2f + size, rectanglePositionAbs.Y); 1007 points[4] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1012 anchorPoint.Y < rectanglePosition.Y) 1015 points[1] = new PointF(rectanglePositionAbs.X + size, rectanglePositionAbs.Y); 1016 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1019 points[5] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + size); 1020 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + size); 1023 anchorPoint.Y >= rectanglePosition.Y && 1027 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1030 points[4] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + rectanglePositionAbs.Height/2f + size ); 1032 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + rectanglePositionAbs.Height/2f - size ); 1118 rectanglePosition.Y + rectanglePosition.Height / 2f) ); 1134 if(anchorPoint.Y < rectanglePosition.Y) 1136 point = GetIntersectionY(cloudCenterAbs, anchorPointAbs, rectanglePositionAbs.Y); 1327 if(anchorPoint.Y < rectanglePosition.Y) 1330 points1[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1331 points1[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1338 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1346 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1362 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1370 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1381 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1389 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1505 if(anchorPoint.Y < rectanglePosition.Y) 1507 lineSecondPoint.Y = rectanglePosition.Y; 1515 lineSecondPoint.Y = rectanglePosition.Y + rectanglePosition.Height / 2f; 1588 if(anchorPoint.Y < rectanglePosition.Y) 1590 textLinePoint1.Y = rectanglePosition.Y; 1591 textLinePoint2.Y = rectanglePosition.Y; 1593 else if(anchorPoint.Y > rectanglePosition.Y && 1596 textLinePoint1.Y = rectanglePosition.Y; 1673 matrix.Translate(-_cloudBounds.X, -_cloudBounds.Y); 1676 matrix.Translate(position.X, position.Y); 1784 matrix.Translate(-_cloudBounds.X, -_cloudBounds.Y); 1787 matrix.Translate(position.X, position.Y); 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); 1890 PathAddLineAsSegments(path, rect.X, rect.Bottom-cornerRadius, rect.X, rect.Y+cornerRadius, segments); 1892 path.AddArc(rect.X, rect.Y, 2f*cornerRadius, 2f*cornerRadius, 180, 90);
Common\Annotation\GroupAnnotation.cs (1)
941 float.IsNaN(selectionRect.Y) ||
Common\Annotation\ImageAnnotation.cs (1)
545 float.IsNaN(rectanglePosition.Y) ||
Common\Annotation\PolygonAnnotation.cs (2)
586 float.IsNaN(rectanglePosition.Y) || 606 pathPoints[pointIndex].Y = rectanglePositionAbs.Y + pathPoints[pointIndex].Y * groupScaleY;
Common\Annotation\RectangleAnnotation.cs (3)
409 float.IsNaN(rectanglePosition.Y) || 647 float.IsNaN(rectanglePosition.Y) || 711 rectangle.Y + 1,
Common\Annotation\TextAnnotation.cs (7)
440 float.IsNaN(textPosition.Y) || 538 textPositionWithSpacing.Height -= (textSpacing.Height + textSpacing.Y) * spacingScaleY; 539 textPositionWithSpacing.Y += textSpacing.Y * spacingScaleY; 558 textPositionWithSpacing.Y = textPosition.Y; 560 textPositionWithSpacing.Height -= textSpacing.Height/2f + textSpacing.Y / 2f; 561 textPositionWithSpacing.Y += textSpacing.Y / 2f; 981 contentSize.Height += (textSpacing.Y + textSpacing.Height) * spacingScaleY;
Common\Borders3D\EmbedBorder.cs (9)
1000 screwRect.Y = shadowRect.Y + offset; 1031 shadowRect.Y - radius, 1061 shadowRect.Y + radius*.5f, 1093 graph.DrawEllipse(screwPen, rect.X, rect.Y, rect.Width, rect.Height); 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); 1096graph.DrawEllipse(screwPen, rect.X + 1 * resolution / 96.0f, rect.Y + 1 * resolution / 96.0f, rect.Width, rect.Height); 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\Borders3D\EmbossBorder.cs (4)
133 if(areasRect.Y + areasRect.Height > 100f) 214 shadowRect.Y = absolute.Y + radius / 3f; 222shadowRect.Y = absolute.Y + 3f * resolution / 96.0f; 250 shadowRect.Y - radius,
Common\ChartTypes\BarChart.cs (12)
603 if(rectSize.Y < area.PlotAreaPosition.Y || rectSize.Bottom > area.PlotAreaPosition.Bottom) 650if ((rectSize.Y + rectSize.Height / 2f) >= area.PlotAreaPosition.Y && 651(rectSize.Y + rectSize.Height / 2f) <= area.PlotAreaPosition.Bottom) 785 markerPosition.Y = rectSize.Y + rectSize.Height/2F; 918rectLabel.Y = rectSize.Y - (float)width / 2F; 1037rectLabel.Y + (rectLabel.Height - valueTextSize.Height) / 2, 1515 if(rectSize.Bottom <= area.PlotAreaPosition.Y || rectSize.Y >= area.PlotAreaPosition.Bottom) 1519 if(rectSize.Y < area.PlotAreaPosition.Y) 1521 rectSize.Height -= area.PlotAreaPosition.Y - rectSize.Y; 1704if ((decimal)rectSize.Y >= (decimal)area.PlotAreaPosition.Y && (decimal)rectSize.Bottom <= (decimal)area.PlotAreaPosition.Bottom) 1768 markerPosition.Y = rectSize.Y + rectSize.Height/2F; 1937rectLabel.Y = rectSize.Y - (float)width / 2F;
Common\ChartTypes\BoxPlotChart.cs (4)
439 rectSize.Height = (float)Math.Abs(rectSize.Y - vAxis.GetPosition( point.YValues[2] )); 579 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y; 1227 rectSize.Height = (float)Math.Abs(rectSize.Y - points[2].Y); 1366 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y;
Common\ChartTypes\ColumnChart.cs (7)
476 rectSize.Height = (float)height - rectSize.Y; 481 rectSize.Height = (float)columnStartPosition - rectSize.Y; 807 rectSize.Height = (float)height - rectSize.Y; 812 rectSize.Height = (float)columnStartPosition - rectSize.Y; 1113 markerPosition.Y = intersection.Y; 1240labelPosition.Y = intersection.Y + intersection.Height / 2f; 1354labelPosition.Y = columnPosition.Y + columnPosition.Height / 2f;
Common\ChartTypes\ErrorBarChart.cs (2)
597 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y; 1361 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y;
Common\ChartTypes\FastPointChart.cs (3)
521 (int)Math.Round(markerBounds.Y, 0), 584 points[0].Y = markerBounds.Y + markerBounds.Height/2F; 588 points[2].Y = markerBounds.Y + markerBounds.Height/2F;
Common\ChartTypes\FunnelChart.cs (14)
587 plotAreaPositionAbs.X, plotAreaPositionAbs.Y, 596 plotAreaPositionAbs.X, plotAreaPositionAbs.Y, 1510 !float.IsNaN(labelInfo.Position.Y) && 1739 if( (plotAreaPositionAbs.Y - position.Y) > requiredSpacing.Y ) 1741 requiredSpacing.Y = plotAreaPositionAbs.Y - position.Y; 1755 requiredSpacing.Y > 1f || 2180 if(plotAreaSpacing.Y > plotAreaPosition.Height / 2f) 2191 plotAreaPosition.Y += plotAreaSpacing.Y; 2193 plotAreaPosition.Height -= plotAreaSpacing.Y + plotAreaSpacing.Height; 2935 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f, plotAreaPositionAbs.Y ); 2947 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f, plotAreaPositionAbs.Y );
Common\ChartTypes\PieChart.cs (48)
780 rectangle = new RectangleF( area.Position.ToRectangleF().X, area.Position.ToRectangleF().Y, area.Position.ToRectangleF().Width, area.Position.ToRectangleF().Height ); 784 rectangle = new RectangleF( area.PlotAreaPosition.ToRectangleF().X, area.PlotAreaPosition.ToRectangleF().Y, area.PlotAreaPosition.ToRectangleF().Width, area.PlotAreaPosition.ToRectangleF().Height ); 799 PointF middlePoint = new PointF( rectangle.X + rectangle.Width / 2, rectangle.Y + rectangle.Height / 2 ); 817 rect.Y = (rect.Y - area.Position.Y) / area.Position.Height * 100f; 820 area.InnerPlotPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 898 RectangleF shadowRect = new RectangleF( rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height ); 1407rect.Y + rect.Height / 2f - valueTextSize.Height / 2f, 1819doughnutRect.Y = rectangle.Y + rectangle.Height * (1 - (100 - doughnutRadius) / 100) / 2; 1827path.AddPie(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, startAngle, sweepAngle); 1841path.AddPie(doughnutRect.X, doughnutRect.Y, doughnutRect.Width, doughnutRect.Width, startAngle, sweepAngle); 2489 RectangleF plotingRectangle = new RectangleF( area.Position.ToRectangleF().X + 1, area.Position.ToRectangleF().Y + 1, area.Position.ToRectangleF().Width-2, area.Position.ToRectangleF().Height-2 ); 2550 rectangle = new RectangleF( plotingRectangle.X, plotingRectangle.Y, plotingRectangle.Width, plotingRectangle.Height ); 2552 rectangle = new RectangleF( area.PlotAreaPosition.ToRectangleF().X, area.PlotAreaPosition.ToRectangleF().Y, area.PlotAreaPosition.ToRectangleF().Width, area.PlotAreaPosition.ToRectangleF().Height ); 2562 PointF middlePoint = new PointF( rectangle.X + rectangle.Width / 2, rectangle.Y + rectangle.Height / 2 ); 2607 rect.Y = (rect.Y - area.Position.Y) / area.Position.Height * 100f; 2610 area.InnerPlotPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 3081 rectangle.Y + (float)Math.Sin( 180 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3087 rectangle.Y + (float)Math.Sin( 180 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3093 rectangle.Y + (float)Math.Sin( 0 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3099 rectangle.Y + (float)Math.Sin( 0 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3105 rectangle.Y + (float)Math.Sin( startAngle * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3111 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3117 rectangle.Y + (float)Math.Sin( startAngle * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3123 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3129 rectangle.Y + rectangle.Height / 2F, 3135 rectangle.Y + rectangle.Height / 2F, 3141 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3158 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height * sizeOut / 2F + rectangle.Height / 2F, 3166 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height * ( 1 + doughnutRadius ) / 4F + rectangle.Height / 2F, 3173 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height * 0.5F / 2F + rectangle.Height / 2F, 3179 points[(int)PiePoints.TopRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,pieWidth); 3185 points[(int)PiePoints.BottomRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,0); 3195 rectangle.Y + (float)Math.Sin( 180 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3201 rectangle.Y + (float)Math.Sin( 180 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3207 rectangle.Y + (float)Math.Sin( 0 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3213 rectangle.Y + (float)Math.Sin( 0 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3219 rectangle.Y + (float)Math.Sin( startAngle * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3225 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3231 rectangle.Y + (float)Math.Sin( startAngle * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3237 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3243 points[(int)PiePoints.DoughnutTopRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,pieWidth); 3249 points[(int)PiePoints.DoughnutBottomRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,0); 4870 if( y < _chartAreaPosition.Y ) 4872 y = _chartAreaPosition.Y; 4879 return (int) (( y - _chartAreaPosition.Y ) / columnHeight ) ; 4916 return (float) _chartAreaPosition.Y + columnHeight * index + columnHeight / 2; 5356 pieRectangle.Y = pieRectangle.Y + ( oldHeight - pieRectangle.Height ) / 2F; 5505labelPosition.Y + labelPosition.Height / 2f - valueTextSize.Height / 2f,
Common\ChartTypes\PointAndFigureChart.cs (1)
814 for(float positionY = rectSize.Y; positionY < rectSize.Bottom - (float)(boxSizeRel - boxSizeRel/4.0); positionY += (float)boxSizeRel)
Common\ChartTypes\StackedBarChart.cs (8)
486 areaPosition.Y = (float)Math.Floor(areaPosition.Y); 487 areaPosition.Height = bottom - areaPosition.Y; 871 if(rectSize.Y < area.PlotAreaPosition.Y || 1079labelPosition.Y = rectangle.Y + rectangle.Height / 2f; 1611 if(rectSize.Bottom <= area.PlotAreaPosition.Y || rectSize.Y >= area.PlotAreaPosition.Bottom) 1615 if(rectSize.Y < area.PlotAreaPosition.Y) 1617 rectSize.Height -= area.PlotAreaPosition.Y - rectSize.Y; 1893rectLabel.Y = rectSize.Y - (float)width / 2F;
Common\ChartTypes\StackedColumnChart.cs (11)
492 areaPosition.Y = (float)Math.Floor(areaPosition.Y); 493 areaPosition.Height = bottom - areaPosition.Y; 843 rectSize.Height = (float)height - rectSize.Y; 848 rectSize.Height = (float)zero - rectSize.Y; 898 rectSize.Y < area.PlotAreaPosition.Y || 1159labelPosition.Y = rectangle.Y + rectangle.Height / 2f; 1614 rectSize.Height = (float)height - rectSize.Y; 1619 rectSize.Height = (float)zero - rectSize.Y; 1773 rectSize.Height = (float)height - rectSize.Y; 1778 rectSize.Height = (float)zero - rectSize.Y; 1875labelPosition.Y = rectangle.Y + rectangle.Height / 2f;
Common\ChartTypes\StockChart.cs (9)
468 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y; 800 rect.Height = (float)Math.Max(open, close) - rect.Y; 834 new PointF(rect.X, rect.Y), 835 new PointF(rect.Right, rect.Y), 1282 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y; 1625 rect.Height = (float)Math.Max(open, close) - rect.Y; 1634 points[0] = new Point3D(rect.X, rect.Y, zPosition + depth/2f); 1664 new PointF(rect.X, rect.Y), 1665 new PointF(rect.Right, rect.Y),
Common\General\Axis.cs (11)
1962 new PointF(transformedTitlePosition.X, transformedTitlePosition.Y), 2009center.Y = titlePosition.Y + titlePosition.Height / 2F; 2080PointF endPoint = new PointF(rect.X + rect.Width / 2f, rect.Y); 3624maxLabelSize = plotArea.Y - ChartArea.Position.Y; 4879float plotAreaRadius = areaCenterAbs.Y - plotAreaRectAbs.Y; 4908PointF outsidePoint = new PointF(areaCenterAbs.X, plotAreaRectAbs.Y); 4941PointF[] labelPosition = new PointF[] { new PointF(areaCenterAbs.X, plotAreaRectAbs.Y) }; 5309rect.Height = (float)Math.Max(fromPosition, toPosition) - rect.Y; 5412rect.Height = (float)Math.Max(fromPosition, toPosition) - rect.Y; 5556labelPosition.Y = labelPosition.Y + labelPosition.Height / 2f - height / 2f; 5665rect.Height = (float)Math.Max(fromPosition, toPosition) - rect.Y;
Common\General\AxisScale.cs (2)
1831 paintAreaPositionBottom = paintAreaPosition.Y + paintAreaPosition.Height; 1890 position = paintAreaPosition.Y + position;
Common\General\AxisScaleSegments.cs (9)
556 float y = (top) ? breakLinePosition.Y : breakLinePosition.Bottom; 576 float startY = breakLinePosition.Y; 607 float y = (top) ? breakLinePosition.Y : breakLinePosition.Bottom; 628 float startY = breakLinePosition.Y; 658 path.AddLine(breakLinePosition.X, breakLinePosition.Y, breakLinePosition.Right, breakLinePosition.Y); 669 path.AddLine(breakLinePosition.X, breakLinePosition.Y, breakLinePosition.X, breakLinePosition.Bottom); 673 path.AddLine(breakLinePosition.Right, breakLinePosition.Y, breakLinePosition.Right, breakLinePosition.Bottom); 712 breakPosition.Height = (float)Math.Abs(breakPosition.Y - breakPosition.Height);
Common\General\Chart.cs (10)
2201 areaPosition.Y = chartAreasRectangle.Y + row * (chartAreasRectangle.Height / areaRows) + elementSpacing; 2210 area.Position.SetPositionNoAuto(areaPosition.X, areaPosition.Y, areaPosition.Width, areaPosition.Height); 3114 if(area.PlotAreaPosition.Y > areaPlotPosition.Y) 3116 areaPlotPosition.Y += area.PlotAreaPosition.Y - areaPlotPosition.Y; 3117 areaPlotPosition.Height -= area.PlotAreaPosition.Y - areaPlotPosition.Y; 3153 rect.Y = areaPlotPosition.Y; 3158 area.PlotAreaPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 3162 rect.Y = (rect.Y - area.Position.Y) / area.Position.Height * 100f; 3165 area.InnerPlotPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 3223 area.Position.SetPositionNoAuto(areaPosition.X, areaPosition.Y, areaPosition.Width, areaPosition.Height);
Common\General\ChartArea.cs (15)
1267this.Position.SetPositionNoAuto(this.originalAreaPosition.X, this.originalAreaPosition.Y, this.originalAreaPosition.Width, this.originalAreaPosition.Height); 1274this.InnerPlotPosition.SetPositionNoAuto(this.originalInnerPlotPosition.X, this.originalInnerPlotPosition.Y, this.originalInnerPlotPosition.Width, this.originalInnerPlotPosition.Height); 1616 axisPosition = plottingRect.Y; 1743rectLabelSideSpacing.Y = (float)Math.Max(offset, rectLabelSideSpacing.Y); 1768if (rectLabelSideSpacing.Y > 0 && rectLabelSideSpacing.Y > plottingRect.Y - Position.Y) 1770float delta = (plottingRect.Y - Position.Y) - rectLabelSideSpacing.Y; 1825 this.circularCenter = new PointF(plottingRect.X + plottingRect.Width/2f, plottingRect.Y + plottingRect.Height/2f); 1845 (float)Math.Round((plottingRect.Y - Position.Y) / (Position.Height / 100F), 5), 2157currentAxis.paintAreaPositionBottom = currentAxis.paintAreaPosition.Y + currentAxis.paintAreaPosition.Height; 2665 SizeF areaDiff = new SizeF(plotAreaRectAbs.X - areaRectAbs.X, plotAreaRectAbs.Y - areaRectAbs.Y); 2738 PointF[] labelPosition = new PointF[] { new PointF(areaCenterAbs.X, plotAreaRectAbs.Y) };
Common\General\ChartArea3D.cs (8)
1313 points[0] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1325 points[4] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1331 points[6] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1332 points[7] = new Point3D( plottingRect.Right, plottingRect.Y, zPosition ); 1345 points[2] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1351 points[4] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1352 points[5] = new Point3D( plottingRect.Right, plottingRect.Y, zPosition ); 1357 points[6] = new Point3D( plottingRect.X, plottingRect.Y, zPosition );
Common\General\ChartGraphics.cs (109)
486 RectangleF tempRect = new RectangleF(rectangle.X,rectangle.Y,rectangle.Width,rectangle.Height); 626 tempPoints[0] = new PointF(rect.X + rect.Width/2f, (outside == true) ? rect.Y : rect.Y + rect.Height/4f); 628 matrix.RotateAt(pointIndex*(360f/(numberOfCorners*2f)), new PointF(rect.X + rect.Width/2f, rect.Y + rect.Height/2f)); 748new Rectangle((int)rect.X + shadowSize, (int)rect.Y + shadowSize, (int)rect.Width, (int)rect.Height), 756new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height), 847path.AddEllipse(rect.X + shadowSize - 1, rect.Y + shadowSize - 1, rect.Width + 2, rect.Height + 2); 891this.DrawRectangle(new Pen(markerBorderColor, markerBorderSize), (int)Math.Round(rect.X, 0), (int)Math.Round(rect.Y, 0), (int)Math.Round(rect.Width, 0), (int)Math.Round(rect.Height, 0)); 1007points[0].Y = rect.Y + rect.Height / 2F; 1011points[2].Y = rect.Y + rect.Height / 2F; 1500 rotationPoint = new PointF(backPositionAbs.X + backPositionAbs.Width/2f, backPositionAbs.Y + backPositionAbs.Height/2f); 1542 backPositionAbs.Y, 1847rotationPoint.Y = absPosition.Y + absPosition.Height / 2F; 1852rotationPoint.Y = absPosition.Y + absPosition.Height / 2F; 1873rotationPoint.Y = (axis.AxisPosition == AxisPosition.Top) ? absPosition.Bottom : absPosition.Y; 1878newRect.Y = absPosition.Y - absPosition.Width / 2F; 1929rotationPoint.Y = absPosition.Y + absPosition.Height / 2F; 2007labelRect.Y = absPosition.Y; 2011labelRect.Y = absPosition.Y + absPosition.Height / 2F - labelSize.Height / 2F; 2056boundaryRect.Height += boundaryRect.Y; 2061boundaryRect.Height = this._common.Height - boundaryRect.Y; 2077absPosition.Y = labelRect.Y; 2085absPosition.Y = labelRect.Y; 2092absPosition.Y = labelRect.Y; 2103absPosition.Y = labelRect.Y; 2291absPosition.Y + (absPosition.Height - imageAbsSize.Height) / 2, 2297imageRect.Y = absPosition.Y + (absPosition.Height - imageAbsSize.Height) / 2; 2398 PointF centerNotRound = new PointF(absPosition.X + absPosition.Width/2F, absPosition.Y + absPosition.Height/2F); 2553 Point center = Point.Round(new PointF(absPosition.X + absPosition.Width/2F, absPosition.Y + absPosition.Height/2F)); 2879 gradientRect.Height = rect.Bottom - gradientRect.Y; 3045 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size, gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size); 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); 3069 path.AddLine(gradientRect.X, gradientRect.Y, gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size); 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); 3093 rect.Y + size, 3102 rect.Y + rect.Height/2f, 3117 rect.Y + size, 3126 rect.Y + rect.Height/2f, 3144 path.AddLine(gradientRect.X, gradientRect.Y, gradientRect.X + size, gradientRect.Y + gradientRect.Height / 2f); 3145 path.AddLine(gradientRect.X + size, gradientRect.Y + gradientRect.Height / 2f, gradientRect.X, gradientRect.Bottom); 3448 fillRect = new RectangleF( rect.X, rect.Y, rect.Width, rect.Height); 3456fillRect = new RectangleF( rect.X, rect.Y, rect.Width, rect.Height); 3463 rect.Y + borderWidth, 3535 imageRect.Y = fillRect.Y; 3578 imageRect.Y = fillRect.Y + (fillRect.Height - imageRect.Height)/2; 3595 new Rectangle((int)Math.Round(imageRect.X),(int)Math.Round(imageRect.Y), (int)Math.Round(imageRect.Width), (int)Math.Round(imageRect.Height)), 3669 this.DrawRectangle( _pen, rect.X, rect.Y, rect.Width, rect.Height ); 3760offset.Y = absolute.Y + shadowOffset; 3782 offset.Y = absolute.Y + shadowOffset - 1; 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); 3809 path.AddLine(offset.X, offset.Bottom-radiusY, offset.X, offset.Y+radiusY); 3810 path.AddArc(offset.X, offset.Y, 2f*radiusX, 2f*radiusY, 180, 90); 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); 3820 path.AddLine(offset.X, offset.Bottom-radius, offset.X, offset.Y+radius); 3821 path.AddArc(offset.X, offset.Y, 2f*radius, 2f*radius, 180, 90); 3830 shadowBrush.CenterPoint = new PointF(offset.X + offset.Width/2f, offset.Y + offset.Height/2f); 3861 PointF firstPoint = new PointF(position.X + position.Width/2f, position.Y); 3862 PointF centerPoint = new PointF(position.X + position.Width/2f, position.Y + position.Height/2f); 3934 PointF firstPoint = new PointF(position.X + position.Width/2f, position.Y); 3935 PointF centerPoint = new PointF(position.X + position.Width/2f, position.Y + position.Height/2f); 4193 fillRect = new RectangleF( rect.X + borderWidth, rect.Y + borderWidth, rect.Width - borderWidth * 2, rect.Height - borderWidth * 2 ); 4216 imageRect.Y = fillRect.Y; 4259 imageRect.Y = fillRect.Y + (fillRect.Height - imageRect.Height)/2; 4266 this.FillRectangle( brush, rect.X, rect.Y, rect.Width + 1, rect.Height + 1); 4270 new Rectangle((int)Math.Round(imageRect.X),(int)Math.Round(imageRect.Y), (int)Math.Round(imageRect.Width), (int)Math.Round(imageRect.Height)), 4281 this.FillRectangle( backBrush, rect.X, rect.Y, rect.Width + 1, rect.Height + 1 ); 4283 this.FillRectangle( brush, rect.X, rect.Y, rect.Width + 1, rect.Height + 1 ); 4290 this.DrawRectangle( _pen, rect.X, rect.Y, rect.Width + 1, rect.Height + 1 ); 4292 this.DrawRectangle( _pen, rect.X, rect.Y, rect.Width, rect.Height ); 4512 imageRect.Y = fillRect.Y; 4555 imageRect.Y = fillRect.Y + (fillRect.Height - imageRect.Height)/2; 4568 new Rectangle((int)Math.Round(imageRect.X),(int)Math.Round(imageRect.Y), (int)Math.Round(imageRect.Width), (int)Math.Round(imageRect.Height)), 4655 relative.Y = rectangle.Y * 100F / ((float)(_height - 1)); 4746 absolute.Y = rectangle.Y * (_height - 1) / 100F; 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]); 4797 path.AddLine(rect.X, rect.Bottom-cornerRadius[6], rect.X, rect.Y+cornerRadius[7]); 4798 path.AddArc(rect.X, rect.Y, 2f*cornerRadius[0], 2f*cornerRadius[7], 180, 90); 4824 shadowBrush.CenterPoint = new PointF(rect.X + rect.Width/2f, rect.Y + rect.Height/2f); 5034path.AddPie(absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle); 5065path.AddArc(absRect.X + absRect.Width * doughnutRadius / 200 - 1, absRect.Y + absRect.Height * doughnutRadius / 200 - 1, absRect.Width - absRect.Width * doughnutRadius / 100 + 2, absRect.Height - absRect.Height * doughnutRadius / 100 + 2, startAngle, sweepAngle); 5066path.AddArc(absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle + sweepAngle, -sweepAngle); 5096 this.FillPie( fillBrush, absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle ); 5108 this.DrawPie( borderPen, absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle ); 5156 gradientPath.Y + position.Height * doughnutRadius /200 - 1 - shadowSize, 5161 path.AddArc( gradientPath.X, gradientPath.Y, gradientPath.Width, gradientPath.Height, startAngle + sweepAngle, -sweepAngle ); 5207 path.AddArc( position.X + shadowSize, position.Y + shadowSize, position.Width - shadowSize * 2f, position.Height - shadowSize * 2f, startAngle, sweepAngle ); 5208 path.AddArc( position.X, position.Y, position.Width, position.Height, startAngle + sweepAngle, -sweepAngle ); 5244 path.AddArc( innerPosition.X + shadowSize, innerPosition.Y + shadowSize, innerPosition.Width - 2f * shadowSize, innerPosition.Height - 2f * shadowSize, startAngle, sweepAngle ); 5245 path.AddArc( innerPosition.X, innerPosition.Y, innerPosition.Width, innerPosition.Height, startAngle + sweepAngle, -sweepAngle ); 5284 path.AddEllipse( absRect.X, absRect.Y, absRect.Width, absRect.Height ); 5303 this.FillPie( brush, absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle );
Common\General\ChartGraphics3D.cs (23)
744path.AddArc(pieBottomRectangle.X, pieBottomRectangle.Y, pieBottomRectangle.Width, pieBottomRectangle.Height, startAngle, sweepAngle); 757path.AddArc(pieTopRectangle.X, pieTopRectangle.Y, pieTopRectangle.Width, pieTopRectangle.Height, startAngle + sweepAngle, -sweepAngle); 865path.AddArc(pieRectangle.X, pieRectangle.Y, pieRectangle.Width, pieRectangle.Height, startAngle, sweepAngle); 976pieDoughnutRectangle.Y = pieRectangle.Y + pieRectangle.Height * (1F - doughnutRadius) / 2F; 997path.AddArc(pieRectangle.X, pieRectangle.Y, pieRectangle.Width, pieRectangle.Height, startAngle, sweepAngle); 1006path.AddArc(pieDoughnutRectangle.X, pieDoughnutRectangle.Y, pieDoughnutRectangle.Width, pieDoughnutRectangle.Height, startAngle + sweepAngle, -sweepAngle); 2866 cubePoints[0] = new Point3D( position.X, position.Y, positionZ + depth ); 2869 cubePoints[3] = new Point3D( position.Right, position.Y, positionZ + depth ); 2872 cubePoints[4] = new Point3D( position.X, position.Y, positionZ ); 2875 cubePoints[7] = new Point3D( position.Right, position.Y, positionZ ); 3564path.AddEllipse(rect.X + shadowSize - 1, rect.Y + shadowSize - 1, rect.Width + 2, rect.Height + 2); 3734 cubePoints[0] = new Point3D( position.X, position.Y, positionZ + depth ); 3737 cubePoints[3] = new Point3D( position.Right, position.Y, positionZ + depth ); 3740 cubePoints[4] = new Point3D( position.X, position.Y, positionZ ); 3743 cubePoints[7] = new Point3D( position.Right, position.Y, positionZ ); 3979 cubePoints[0] = new Point3D( position.X, position.Y, positionZ + depth / 2f ); 3982 cubePoints[3] = new Point3D( position.Right, position.Y, positionZ + depth / 2f ); 3985 cubePoints[4] = new Point3D( middleXValue, position.Y, positionZ + depth ); 3988 cubePoints[7] = new Point3D( middleXValue, position.Y, positionZ ); 3992 cubePoints[0] = new Point3D( position.Right, position.Y, positionZ + depth / 2f ); 3993 cubePoints[1] = new Point3D( position.X, position.Y, positionZ + depth / 2f ); 3997 float middleYValue = position.Y + position.Height / 2f; 4176 boundsRectMiddlePoint.Y = boundsRect.Y + boundsRect.Height/2f;
Common\General\GridTickMarks.cs (2)
1481 first.Y = plotArea.Y; 1580 first.Y = plotArea.Y;
Common\General\ImageMap.cs (1)
274coord[1] = rect.Y;
Common\General\Label.cs (20)
1279 new PointF(labelRect.Right, labelRect.Y), 1760rect.Height = (float)Math.Max(fromPosition, toPosition) - rect.Y; 1883 rectLabels.Height = (float)Math.Max(rectLabels.Height, rectLabels.Y - labelsAxis.PlotAreaPosition.Y); 1907 rectLabels.Height = (float)Math.Max(rectLabels.Height, labelsAxis.PlotAreaPosition.Bottom - rectLabels.Y); 2278rect.Height = (float)Math.Max(fromPosition, toPosition) - rect.Y; 2302rectPoints[0] = new Point3D(rect.Right, rect.Y, labelsZPosition); 2303rectPoints[1] = new Point3D(rect.Right, rect.Y + rect.Height / 2f, labelsZPosition); 2307rect.Height = rectPoints[2].Y - rect.Y; 2312rectPoints[0] = new Point3D(rect.X, rect.Y, labelsZPosition); 2313rectPoints[1] = new Point3D(rect.X, rect.Y + rect.Height / 2f, labelsZPosition); 2317rect.Height = rectPoints[2].Y - rect.Y; 2333rect.Height = rectPoints[1].Y - rect.Y; 2339rect.Height = rectPoints[2].Y - rect.Y; 2347rect.Height = rectPoints[0].Y - rect.Y; 2355rectPoints[0] = new Point3D(rect.X, rect.Y, labelsZPosition); 2356rectPoints[1] = new Point3D(rect.X + rect.Width / 2f, rect.Y, labelsZPosition); 2357rectPoints[2] = new Point3D(rect.Right, rect.Y, labelsZPosition); 2371rect.Height = rectPoints[0].Y - rect.Y; 2385rect.Height = rectPoints[2].Y - rect.Y; 2468float height = labelPositionPoints[0].Y - rect.Y;
Common\General\Legend.cs (7)
1122 legendPosition.Y = chartAreasRectangle.Y + elementSpacing; 1164 legendPosition.Y = chartAreasRectangle.Y + elementSpacing; 1172 legendPosition.Y = chartAreasRectangle.Y + (chartAreasRectangle.Height - legendSize.Height) / 2F; 1184 legendPosition.Y = chartAreasRectangle.Y + elementSpacing; 1192 legendPosition.Y = chartAreasRectangle.Y + (chartAreasRectangle.Height - legendSize.Height) / 2F; 1199 this.Position.SetPositionNoAuto(legendPosition.X, legendPosition.Y, legendPosition.Width, legendPosition.Height); 4983 legend.Position.SetPositionNoAuto(legendPosition.X, legendPosition.Y, legendPosition.Width, legendPosition.Height);
Common\General\LegendColumns.cs (2)
1947this.Chart.CallOnPrePaint(new ChartPaintEventArgs(this, chartGraph, this.Common, new ElementPosition(rectRelative.X, rectRelative.Y, rectRelative.Width, rectRelative.Height))); 1966this.Chart.CallOnPostPaint(new ChartPaintEventArgs(this, chartGraph, this.Common, new ElementPosition(rectRelative.X, rectRelative.Y, rectRelative.Width, rectRelative.Height)));
Common\General\Matrix3D.cs (1)
246 _translateY = innerPlotRectangle.Y+innerPlotRectangle.Height/2;
Common\General\SmartLabels.cs (12)
939 graph.DrawRectangle(calloutPen, labelRectAbs.X, labelRectAbs.Y, labelRectAbs.Width, labelRectAbs.Height); 1050 if(labelPosition.X < 0f || labelPosition.Y < 0f || 1078 labelPosition.Y + labelPosition.Height/2f); 1094 !areaPath.IsVisible(new PointF(labelPosition.Right, labelPosition.Y)) || 1116 labelPosition.Y + labelPosition.Height/2f); 1175 labelPosition.Y + labelPosition.Height / 2f); 1226 if(point1.Y < rect.Y && point2.Y < rect.Y) 1242 if(point1.Y >= rect.Y && point1.Y <= rect.Bottom) 1267 else if(point1.Y < rect.Y && point2.Y < rect.Y) 1284 PointF intersection = CalloutAnnotation.GetIntersectionY(point1, point2, rect.Y);
Common\General\StripLine.cs (4)
370 rect.Height = (float)Math.Max(pos1, pos2) - rect.Y; 377 rect.Y = plotAreaPosition.Y; 450 point1.Y = plotAreaPosition.Y; 625 rect.Height = point2.Y - rect.Y;
Common\General\Title.cs (13)
1430 titlePosition.Y = titlePosition.Y - titlePosition.Height; 1436 titlePosition.Y = titlePosition.Y - titlePosition.Height/2f; 1487 titlePosition.Y, 1500 exactTitleRect.Y = titlePosition.Y + 1650center.Y = absPosition.Y + absPosition.Height / 2F; 1848 frameTitlePosition.Y, 1905 titlePosition.Y = chartAreasRectangle.Y + elementSpacing; 1933 titlePosition.Y = chartAreasRectangle.Y + elementSpacing; 1934 titlePosition.Height = chartAreasRectangle.Bottom - titlePosition.Y - elementSpacing; 1947 titlePosition.Y = chartAreasRectangle.Y + elementSpacing; 1948 titlePosition.Height = chartAreasRectangle.Bottom - titlePosition.Y - elementSpacing; 1972 this.Position.SetPositionNoAuto(titlePosition.X, titlePosition.Y, titlePosition.Width, titlePosition.Height); 2137 title.Position.SetPositionNoAuto(titlePosition.X, titlePosition.Y, titlePosition.Width, titlePosition.Height);
Common\Utilities\ElementPosition.cs (1)
217 this._y = rect.Y;
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Layout\TableLayout.cs (1)
1152float top = displayRectF.Y;
System.Windows.Forms.DataVisualization (458)
Common\Annotation\AnnotationBase.cs (7)
2065 rect.Y - markerSizeRel.Height/2f, 2114 handlePosition = new PointF(rect.X + rect.Width / 2f, rect.Y); 2117 handlePosition = new PointF(rect.Right, rect.Y); 2120 handlePosition = new PointF(rect.Right, rect.Y + rect.Height / 2f); 2132 handlePosition = new PointF(rect.X, rect.Y + rect.Height / 2f); 2660 relativeY = contentPosition.Y * groupScaleY; 2907 double newY = position.Y;
Common\Annotation\CalloutAnnotation.cs (54)
671 float.IsNaN(rectanglePosition.Y) || 946 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 958 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 969 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 978 anchorPoint.Y >= rectanglePosition.Y) 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); 989 anchorPoint.Y < rectanglePosition.Y) 992 points[1] = new PointF(rectanglePositionAbs.Right - size, rectanglePositionAbs.Y); 994 points[3] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y + size); 1001 anchorPoint.Y < rectanglePosition.Y) 1004 points[1] = new PointF(rectanglePositionAbs.X + rectanglePositionAbs.Width/2f - size, rectanglePositionAbs.Y); 1006 points[3] = new PointF(rectanglePositionAbs.X + rectanglePositionAbs.Width/2f + size, rectanglePositionAbs.Y); 1007 points[4] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1012 anchorPoint.Y < rectanglePosition.Y) 1015 points[1] = new PointF(rectanglePositionAbs.X + size, rectanglePositionAbs.Y); 1016 points[2] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1019 points[5] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + size); 1020 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + size); 1023 anchorPoint.Y >= rectanglePosition.Y && 1027 points[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1030 points[4] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + rectanglePositionAbs.Height/2f + size ); 1032 points[6] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y + rectanglePositionAbs.Height/2f - size ); 1118 rectanglePosition.Y + rectanglePosition.Height / 2f) ); 1134 if(anchorPoint.Y < rectanglePosition.Y) 1136 point = GetIntersectionY(cloudCenterAbs, anchorPointAbs, rectanglePositionAbs.Y); 1327 if(anchorPoint.Y < rectanglePosition.Y) 1330 points1[0] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1331 points1[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1338 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1346 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1362 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1370 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1381 points2[1] = new PointF(rectanglePositionAbs.X, rectanglePositionAbs.Y); 1389 points2[1] = new PointF(rectanglePositionAbs.Right, rectanglePositionAbs.Y); 1505 if(anchorPoint.Y < rectanglePosition.Y) 1507 lineSecondPoint.Y = rectanglePosition.Y; 1515 lineSecondPoint.Y = rectanglePosition.Y + rectanglePosition.Height / 2f; 1588 if(anchorPoint.Y < rectanglePosition.Y) 1590 textLinePoint1.Y = rectanglePosition.Y; 1591 textLinePoint2.Y = rectanglePosition.Y; 1593 else if(anchorPoint.Y > rectanglePosition.Y && 1596 textLinePoint1.Y = rectanglePosition.Y; 1673 matrix.Translate(-_cloudBounds.X, -_cloudBounds.Y); 1676 matrix.Translate(position.X, position.Y); 1784 matrix.Translate(-_cloudBounds.X, -_cloudBounds.Y); 1787 matrix.Translate(position.X, position.Y); 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); 1890 PathAddLineAsSegments(path, rect.X, rect.Bottom-cornerRadius, rect.X, rect.Y+cornerRadius, segments); 1892 path.AddArc(rect.X, rect.Y, 2f*cornerRadius, 2f*cornerRadius, 180, 90);
Common\Annotation\GroupAnnotation.cs (1)
941 float.IsNaN(selectionRect.Y) ||
Common\Annotation\ImageAnnotation.cs (1)
545 float.IsNaN(rectanglePosition.Y) ||
Common\Annotation\PolygonAnnotation.cs (2)
586 float.IsNaN(rectanglePosition.Y) || 606 pathPoints[pointIndex].Y = rectanglePositionAbs.Y + pathPoints[pointIndex].Y * groupScaleY;
Common\Annotation\RectangleAnnotation.cs (3)
409 float.IsNaN(rectanglePosition.Y) || 647 float.IsNaN(rectanglePosition.Y) || 711 rectangle.Y + 1,
Common\Annotation\TextAnnotation.cs (7)
440 float.IsNaN(textPosition.Y) || 538 textPositionWithSpacing.Height -= (textSpacing.Height + textSpacing.Y) * spacingScaleY; 539 textPositionWithSpacing.Y += textSpacing.Y * spacingScaleY; 558 textPositionWithSpacing.Y = textPosition.Y; 560 textPositionWithSpacing.Height -= textSpacing.Height/2f + textSpacing.Y / 2f; 561 textPositionWithSpacing.Y += textSpacing.Y / 2f; 981 contentSize.Height += (textSpacing.Y + textSpacing.Height) * spacingScaleY;
Common\Borders3D\EmbedBorder.cs (9)
1000 screwRect.Y = shadowRect.Y + offset; 1031 shadowRect.Y - radius, 1061 shadowRect.Y + radius*.5f, 1093 graph.DrawEllipse(screwPen, rect.X, rect.Y, rect.Width, rect.Height); 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); 1096graph.DrawEllipse(screwPen, rect.X + 1 * resolution / 96.0f, rect.Y + 1 * resolution / 96.0f, rect.Width, rect.Height); 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\Borders3D\EmbossBorder.cs (4)
133 if(areasRect.Y + areasRect.Height > 100f) 214 shadowRect.Y = absolute.Y + radius / 3f; 222shadowRect.Y = absolute.Y + 3f * resolution / 96.0f; 250 shadowRect.Y - radius,
Common\ChartTypes\BarChart.cs (12)
603 if(rectSize.Y < area.PlotAreaPosition.Y || rectSize.Bottom > area.PlotAreaPosition.Bottom) 650if ((rectSize.Y + rectSize.Height / 2f) >= area.PlotAreaPosition.Y && 651(rectSize.Y + rectSize.Height / 2f) <= area.PlotAreaPosition.Bottom) 785 markerPosition.Y = rectSize.Y + rectSize.Height/2F; 918rectLabel.Y = rectSize.Y - (float)width / 2F; 1037rectLabel.Y + (rectLabel.Height - valueTextSize.Height) / 2, 1515 if(rectSize.Bottom <= area.PlotAreaPosition.Y || rectSize.Y >= area.PlotAreaPosition.Bottom) 1519 if(rectSize.Y < area.PlotAreaPosition.Y) 1521 rectSize.Height -= area.PlotAreaPosition.Y - rectSize.Y; 1704if ((decimal)rectSize.Y >= (decimal)area.PlotAreaPosition.Y && (decimal)rectSize.Bottom <= (decimal)area.PlotAreaPosition.Bottom) 1768 markerPosition.Y = rectSize.Y + rectSize.Height/2F; 1937rectLabel.Y = rectSize.Y - (float)width / 2F;
Common\ChartTypes\BoxPlotChart.cs (4)
439 rectSize.Height = (float)Math.Abs(rectSize.Y - vAxis.GetPosition( point.YValues[2] )); 579 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y; 1227 rectSize.Height = (float)Math.Abs(rectSize.Y - points[2].Y); 1366 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y;
Common\ChartTypes\ColumnChart.cs (7)
476 rectSize.Height = (float)height - rectSize.Y; 481 rectSize.Height = (float)columnStartPosition - rectSize.Y; 807 rectSize.Height = (float)height - rectSize.Y; 812 rectSize.Height = (float)columnStartPosition - rectSize.Y; 1113 markerPosition.Y = intersection.Y; 1240labelPosition.Y = intersection.Y + intersection.Height / 2f; 1354labelPosition.Y = columnPosition.Y + columnPosition.Height / 2f;
Common\ChartTypes\ErrorBarChart.cs (2)
597 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y; 1361 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y;
Common\ChartTypes\FastPointChart.cs (3)
521 (int)Math.Round(markerBounds.Y, 0), 584 points[0].Y = markerBounds.Y + markerBounds.Height/2F; 588 points[2].Y = markerBounds.Y + markerBounds.Height/2F;
Common\ChartTypes\FunnelChart.cs (14)
587 plotAreaPositionAbs.X, plotAreaPositionAbs.Y, 596 plotAreaPositionAbs.X, plotAreaPositionAbs.Y, 1510 !float.IsNaN(labelInfo.Position.Y) && 1739 if( (plotAreaPositionAbs.Y - position.Y) > requiredSpacing.Y ) 1741 requiredSpacing.Y = plotAreaPositionAbs.Y - position.Y; 1755 requiredSpacing.Y > 1f || 2180 if(plotAreaSpacing.Y > plotAreaPosition.Height / 2f) 2191 plotAreaPosition.Y += plotAreaSpacing.Y; 2193 plotAreaPosition.Height -= plotAreaSpacing.Y + plotAreaSpacing.Height; 2935 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f, plotAreaPositionAbs.Y ); 2947 plotAreaPositionAbs.X + plotAreaPositionAbs.Width / 2f, plotAreaPositionAbs.Y );
Common\ChartTypes\PieChart.cs (48)
780 rectangle = new RectangleF( area.Position.ToRectangleF().X, area.Position.ToRectangleF().Y, area.Position.ToRectangleF().Width, area.Position.ToRectangleF().Height ); 784 rectangle = new RectangleF( area.PlotAreaPosition.ToRectangleF().X, area.PlotAreaPosition.ToRectangleF().Y, area.PlotAreaPosition.ToRectangleF().Width, area.PlotAreaPosition.ToRectangleF().Height ); 799 PointF middlePoint = new PointF( rectangle.X + rectangle.Width / 2, rectangle.Y + rectangle.Height / 2 ); 817 rect.Y = (rect.Y - area.Position.Y) / area.Position.Height * 100f; 820 area.InnerPlotPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 898 RectangleF shadowRect = new RectangleF( rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height ); 1407rect.Y + rect.Height / 2f - valueTextSize.Height / 2f, 1819doughnutRect.Y = rectangle.Y + rectangle.Height * (1 - (100 - doughnutRadius) / 100) / 2; 1827path.AddPie(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, startAngle, sweepAngle); 1841path.AddPie(doughnutRect.X, doughnutRect.Y, doughnutRect.Width, doughnutRect.Width, startAngle, sweepAngle); 2489 RectangleF plotingRectangle = new RectangleF( area.Position.ToRectangleF().X + 1, area.Position.ToRectangleF().Y + 1, area.Position.ToRectangleF().Width-2, area.Position.ToRectangleF().Height-2 ); 2550 rectangle = new RectangleF( plotingRectangle.X, plotingRectangle.Y, plotingRectangle.Width, plotingRectangle.Height ); 2552 rectangle = new RectangleF( area.PlotAreaPosition.ToRectangleF().X, area.PlotAreaPosition.ToRectangleF().Y, area.PlotAreaPosition.ToRectangleF().Width, area.PlotAreaPosition.ToRectangleF().Height ); 2562 PointF middlePoint = new PointF( rectangle.X + rectangle.Width / 2, rectangle.Y + rectangle.Height / 2 ); 2607 rect.Y = (rect.Y - area.Position.Y) / area.Position.Height * 100f; 2610 area.InnerPlotPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 3081 rectangle.Y + (float)Math.Sin( 180 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3087 rectangle.Y + (float)Math.Sin( 180 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3093 rectangle.Y + (float)Math.Sin( 0 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3099 rectangle.Y + (float)Math.Sin( 0 * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3105 rectangle.Y + (float)Math.Sin( startAngle * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3111 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3117 rectangle.Y + (float)Math.Sin( startAngle * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3123 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3129 rectangle.Y + rectangle.Height / 2F, 3135 rectangle.Y + rectangle.Height / 2F, 3141 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height / 2F + rectangle.Height / 2F, 3158 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height * sizeOut / 2F + rectangle.Height / 2F, 3166 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height * ( 1 + doughnutRadius ) / 4F + rectangle.Height / 2F, 3173 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle / 2 ) * Math.PI / 180 ) * rectangle.Height * 0.5F / 2F + rectangle.Height / 2F, 3179 points[(int)PiePoints.TopRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,pieWidth); 3185 points[(int)PiePoints.BottomRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,0); 3195 rectangle.Y + (float)Math.Sin( 180 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3201 rectangle.Y + (float)Math.Sin( 180 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3207 rectangle.Y + (float)Math.Sin( 0 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3213 rectangle.Y + (float)Math.Sin( 0 * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3219 rectangle.Y + (float)Math.Sin( startAngle * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3225 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3231 rectangle.Y + (float)Math.Sin( startAngle * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3237 rectangle.Y + (float)Math.Sin( ( startAngle + sweepAngle ) * Math.PI / 180 ) * rectangle.Height * doughnutRadius / 2F + rectangle.Height / 2F, 3243 points[(int)PiePoints.DoughnutTopRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,pieWidth); 3249 points[(int)PiePoints.DoughnutBottomRectTopLeftPoint] = new Point3D(rectangle.X,rectangle.Y,0); 4870 if( y < _chartAreaPosition.Y ) 4872 y = _chartAreaPosition.Y; 4879 return (int) (( y - _chartAreaPosition.Y ) / columnHeight ) ; 4916 return (float) _chartAreaPosition.Y + columnHeight * index + columnHeight / 2; 5356 pieRectangle.Y = pieRectangle.Y + ( oldHeight - pieRectangle.Height ) / 2F; 5505labelPosition.Y + labelPosition.Height / 2f - valueTextSize.Height / 2f,
Common\ChartTypes\PointAndFigureChart.cs (1)
814 for(float positionY = rectSize.Y; positionY < rectSize.Bottom - (float)(boxSizeRel - boxSizeRel/4.0); positionY += (float)boxSizeRel)
Common\ChartTypes\StackedBarChart.cs (8)
486 areaPosition.Y = (float)Math.Floor(areaPosition.Y); 487 areaPosition.Height = bottom - areaPosition.Y; 871 if(rectSize.Y < area.PlotAreaPosition.Y || 1079labelPosition.Y = rectangle.Y + rectangle.Height / 2f; 1611 if(rectSize.Bottom <= area.PlotAreaPosition.Y || rectSize.Y >= area.PlotAreaPosition.Bottom) 1615 if(rectSize.Y < area.PlotAreaPosition.Y) 1617 rectSize.Height -= area.PlotAreaPosition.Y - rectSize.Y; 1893rectLabel.Y = rectSize.Y - (float)width / 2F;
Common\ChartTypes\StackedColumnChart.cs (11)
492 areaPosition.Y = (float)Math.Floor(areaPosition.Y); 493 areaPosition.Height = bottom - areaPosition.Y; 843 rectSize.Height = (float)height - rectSize.Y; 848 rectSize.Height = (float)zero - rectSize.Y; 898 rectSize.Y < area.PlotAreaPosition.Y || 1159labelPosition.Y = rectangle.Y + rectangle.Height / 2f; 1614 rectSize.Height = (float)height - rectSize.Y; 1619 rectSize.Height = (float)zero - rectSize.Y; 1773 rectSize.Height = (float)height - rectSize.Y; 1778 rectSize.Height = (float)zero - rectSize.Y; 1875labelPosition.Y = rectangle.Y + rectangle.Height / 2f;
Common\ChartTypes\StockChart.cs (9)
468 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y; 800 rect.Height = (float)Math.Max(open, close) - rect.Y; 834 new PointF(rect.X, rect.Y), 835 new PointF(rect.Right, rect.Y), 1282 areaRect.Height = (float)Math.Max(high, low) - areaRect.Y; 1625 rect.Height = (float)Math.Max(open, close) - rect.Y; 1634 points[0] = new Point3D(rect.X, rect.Y, zPosition + depth/2f); 1664 new PointF(rect.X, rect.Y), 1665 new PointF(rect.Right, rect.Y),
Common\General\Axis.cs (11)
1962 new PointF(transformedTitlePosition.X, transformedTitlePosition.Y), 2009center.Y = titlePosition.Y + titlePosition.Height / 2F; 2080PointF endPoint = new PointF(rect.X + rect.Width / 2f, rect.Y); 3624maxLabelSize = plotArea.Y - ChartArea.Position.Y; 4879float plotAreaRadius = areaCenterAbs.Y - plotAreaRectAbs.Y; 4908PointF outsidePoint = new PointF(areaCenterAbs.X, plotAreaRectAbs.Y); 4941PointF[] labelPosition = new PointF[] { new PointF(areaCenterAbs.X, plotAreaRectAbs.Y) }; 5309rect.Height = (float)Math.Max(fromPosition, toPosition) - rect.Y; 5412rect.Height = (float)Math.Max(fromPosition, toPosition) - rect.Y; 5556labelPosition.Y = labelPosition.Y + labelPosition.Height / 2f - height / 2f; 5665rect.Height = (float)Math.Max(fromPosition, toPosition) - rect.Y;
Common\General\AxisScale.cs (2)
1831 paintAreaPositionBottom = paintAreaPosition.Y + paintAreaPosition.Height; 1890 position = paintAreaPosition.Y + position;
Common\General\AxisScaleSegments.cs (9)
556 float y = (top) ? breakLinePosition.Y : breakLinePosition.Bottom; 576 float startY = breakLinePosition.Y; 607 float y = (top) ? breakLinePosition.Y : breakLinePosition.Bottom; 628 float startY = breakLinePosition.Y; 658 path.AddLine(breakLinePosition.X, breakLinePosition.Y, breakLinePosition.Right, breakLinePosition.Y); 669 path.AddLine(breakLinePosition.X, breakLinePosition.Y, breakLinePosition.X, breakLinePosition.Bottom); 673 path.AddLine(breakLinePosition.Right, breakLinePosition.Y, breakLinePosition.Right, breakLinePosition.Bottom); 712 breakPosition.Height = (float)Math.Abs(breakPosition.Y - breakPosition.Height);
Common\General\Chart.cs (10)
2201 areaPosition.Y = chartAreasRectangle.Y + row * (chartAreasRectangle.Height / areaRows) + elementSpacing; 2210 area.Position.SetPositionNoAuto(areaPosition.X, areaPosition.Y, areaPosition.Width, areaPosition.Height); 3114 if(area.PlotAreaPosition.Y > areaPlotPosition.Y) 3116 areaPlotPosition.Y += area.PlotAreaPosition.Y - areaPlotPosition.Y; 3117 areaPlotPosition.Height -= area.PlotAreaPosition.Y - areaPlotPosition.Y; 3153 rect.Y = areaPlotPosition.Y; 3158 area.PlotAreaPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 3162 rect.Y = (rect.Y - area.Position.Y) / area.Position.Height * 100f; 3165 area.InnerPlotPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height); 3223 area.Position.SetPositionNoAuto(areaPosition.X, areaPosition.Y, areaPosition.Width, areaPosition.Height);
Common\General\ChartArea.cs (15)
1267this.Position.SetPositionNoAuto(this.originalAreaPosition.X, this.originalAreaPosition.Y, this.originalAreaPosition.Width, this.originalAreaPosition.Height); 1274this.InnerPlotPosition.SetPositionNoAuto(this.originalInnerPlotPosition.X, this.originalInnerPlotPosition.Y, this.originalInnerPlotPosition.Width, this.originalInnerPlotPosition.Height); 1616 axisPosition = plottingRect.Y; 1743rectLabelSideSpacing.Y = (float)Math.Max(offset, rectLabelSideSpacing.Y); 1768if (rectLabelSideSpacing.Y > 0 && rectLabelSideSpacing.Y > plottingRect.Y - Position.Y) 1770float delta = (plottingRect.Y - Position.Y) - rectLabelSideSpacing.Y; 1825 this.circularCenter = new PointF(plottingRect.X + plottingRect.Width/2f, plottingRect.Y + plottingRect.Height/2f); 1845 (float)Math.Round((plottingRect.Y - Position.Y) / (Position.Height / 100F), 5), 2157currentAxis.paintAreaPositionBottom = currentAxis.paintAreaPosition.Y + currentAxis.paintAreaPosition.Height; 2665 SizeF areaDiff = new SizeF(plotAreaRectAbs.X - areaRectAbs.X, plotAreaRectAbs.Y - areaRectAbs.Y); 2738 PointF[] labelPosition = new PointF[] { new PointF(areaCenterAbs.X, plotAreaRectAbs.Y) };
Common\General\ChartArea3D.cs (8)
1313 points[0] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1325 points[4] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1331 points[6] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1332 points[7] = new Point3D( plottingRect.Right, plottingRect.Y, zPosition ); 1345 points[2] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1351 points[4] = new Point3D( plottingRect.X, plottingRect.Y, zPosition ); 1352 points[5] = new Point3D( plottingRect.Right, plottingRect.Y, zPosition ); 1357 points[6] = new Point3D( plottingRect.X, plottingRect.Y, zPosition );
Common\General\ChartGraphics.cs (109)
486 RectangleF tempRect = new RectangleF(rectangle.X,rectangle.Y,rectangle.Width,rectangle.Height); 626 tempPoints[0] = new PointF(rect.X + rect.Width/2f, (outside == true) ? rect.Y : rect.Y + rect.Height/4f); 628 matrix.RotateAt(pointIndex*(360f/(numberOfCorners*2f)), new PointF(rect.X + rect.Width/2f, rect.Y + rect.Height/2f)); 748new Rectangle((int)rect.X + shadowSize, (int)rect.Y + shadowSize, (int)rect.Width, (int)rect.Height), 756new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height), 847path.AddEllipse(rect.X + shadowSize - 1, rect.Y + shadowSize - 1, rect.Width + 2, rect.Height + 2); 891this.DrawRectangle(new Pen(markerBorderColor, markerBorderSize), (int)Math.Round(rect.X, 0), (int)Math.Round(rect.Y, 0), (int)Math.Round(rect.Width, 0), (int)Math.Round(rect.Height, 0)); 1007points[0].Y = rect.Y + rect.Height / 2F; 1011points[2].Y = rect.Y + rect.Height / 2F; 1500 rotationPoint = new PointF(backPositionAbs.X + backPositionAbs.Width/2f, backPositionAbs.Y + backPositionAbs.Height/2f); 1542 backPositionAbs.Y, 1847rotationPoint.Y = absPosition.Y + absPosition.Height / 2F; 1852rotationPoint.Y = absPosition.Y + absPosition.Height / 2F; 1873rotationPoint.Y = (axis.AxisPosition == AxisPosition.Top) ? absPosition.Bottom : absPosition.Y; 1878newRect.Y = absPosition.Y - absPosition.Width / 2F; 1929rotationPoint.Y = absPosition.Y + absPosition.Height / 2F; 2007labelRect.Y = absPosition.Y; 2011labelRect.Y = absPosition.Y + absPosition.Height / 2F - labelSize.Height / 2F; 2056boundaryRect.Height += boundaryRect.Y; 2061boundaryRect.Height = this._common.Height - boundaryRect.Y; 2077absPosition.Y = labelRect.Y; 2085absPosition.Y = labelRect.Y; 2092absPosition.Y = labelRect.Y; 2103absPosition.Y = labelRect.Y; 2291absPosition.Y + (absPosition.Height - imageAbsSize.Height) / 2, 2297imageRect.Y = absPosition.Y + (absPosition.Height - imageAbsSize.Height) / 2; 2398 PointF centerNotRound = new PointF(absPosition.X + absPosition.Width/2F, absPosition.Y + absPosition.Height/2F); 2553 Point center = Point.Round(new PointF(absPosition.X + absPosition.Width/2F, absPosition.Y + absPosition.Height/2F)); 2879 gradientRect.Height = rect.Bottom - gradientRect.Y; 3045 path.AddLine(gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size, gradientRect.X + gradientRect.Width/2f, gradientRect.Bottom - size); 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); 3069 path.AddLine(gradientRect.X, gradientRect.Y, gradientRect.X + gradientRect.Width/2f, gradientRect.Y + size); 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); 3093 rect.Y + size, 3102 rect.Y + rect.Height/2f, 3117 rect.Y + size, 3126 rect.Y + rect.Height/2f, 3144 path.AddLine(gradientRect.X, gradientRect.Y, gradientRect.X + size, gradientRect.Y + gradientRect.Height / 2f); 3145 path.AddLine(gradientRect.X + size, gradientRect.Y + gradientRect.Height / 2f, gradientRect.X, gradientRect.Bottom); 3448 fillRect = new RectangleF( rect.X, rect.Y, rect.Width, rect.Height); 3456fillRect = new RectangleF( rect.X, rect.Y, rect.Width, rect.Height); 3463 rect.Y + borderWidth, 3535 imageRect.Y = fillRect.Y; 3578 imageRect.Y = fillRect.Y + (fillRect.Height - imageRect.Height)/2; 3595 new Rectangle((int)Math.Round(imageRect.X),(int)Math.Round(imageRect.Y), (int)Math.Round(imageRect.Width), (int)Math.Round(imageRect.Height)), 3669 this.DrawRectangle( _pen, rect.X, rect.Y, rect.Width, rect.Height ); 3760offset.Y = absolute.Y + shadowOffset; 3782 offset.Y = absolute.Y + shadowOffset - 1; 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); 3809 path.AddLine(offset.X, offset.Bottom-radiusY, offset.X, offset.Y+radiusY); 3810 path.AddArc(offset.X, offset.Y, 2f*radiusX, 2f*radiusY, 180, 90); 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); 3820 path.AddLine(offset.X, offset.Bottom-radius, offset.X, offset.Y+radius); 3821 path.AddArc(offset.X, offset.Y, 2f*radius, 2f*radius, 180, 90); 3830 shadowBrush.CenterPoint = new PointF(offset.X + offset.Width/2f, offset.Y + offset.Height/2f); 3861 PointF firstPoint = new PointF(position.X + position.Width/2f, position.Y); 3862 PointF centerPoint = new PointF(position.X + position.Width/2f, position.Y + position.Height/2f); 3934 PointF firstPoint = new PointF(position.X + position.Width/2f, position.Y); 3935 PointF centerPoint = new PointF(position.X + position.Width/2f, position.Y + position.Height/2f); 4193 fillRect = new RectangleF( rect.X + borderWidth, rect.Y + borderWidth, rect.Width - borderWidth * 2, rect.Height - borderWidth * 2 ); 4216 imageRect.Y = fillRect.Y; 4259 imageRect.Y = fillRect.Y + (fillRect.Height - imageRect.Height)/2; 4266 this.FillRectangle( brush, rect.X, rect.Y, rect.Width + 1, rect.Height + 1); 4270 new Rectangle((int)Math.Round(imageRect.X),(int)Math.Round(imageRect.Y), (int)Math.Round(imageRect.Width), (int)Math.Round(imageRect.Height)), 4281 this.FillRectangle( backBrush, rect.X, rect.Y, rect.Width + 1, rect.Height + 1 ); 4283 this.FillRectangle( brush, rect.X, rect.Y, rect.Width + 1, rect.Height + 1 ); 4290 this.DrawRectangle( _pen, rect.X, rect.Y, rect.Width + 1, rect.Height + 1 ); 4292 this.DrawRectangle( _pen, rect.X, rect.Y, rect.Width, rect.Height ); 4512 imageRect.Y = fillRect.Y; 4555 imageRect.Y = fillRect.Y + (fillRect.Height - imageRect.Height)/2; 4568 new Rectangle((int)Math.Round(imageRect.X),(int)Math.Round(imageRect.Y), (int)Math.Round(imageRect.Width), (int)Math.Round(imageRect.Height)), 4655 relative.Y = rectangle.Y * 100F / ((float)(_height - 1)); 4746 absolute.Y = rectangle.Y * (_height - 1) / 100F; 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]); 4797 path.AddLine(rect.X, rect.Bottom-cornerRadius[6], rect.X, rect.Y+cornerRadius[7]); 4798 path.AddArc(rect.X, rect.Y, 2f*cornerRadius[0], 2f*cornerRadius[7], 180, 90); 4824 shadowBrush.CenterPoint = new PointF(rect.X + rect.Width/2f, rect.Y + rect.Height/2f); 5034path.AddPie(absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle); 5065path.AddArc(absRect.X + absRect.Width * doughnutRadius / 200 - 1, absRect.Y + absRect.Height * doughnutRadius / 200 - 1, absRect.Width - absRect.Width * doughnutRadius / 100 + 2, absRect.Height - absRect.Height * doughnutRadius / 100 + 2, startAngle, sweepAngle); 5066path.AddArc(absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle + sweepAngle, -sweepAngle); 5096 this.FillPie( fillBrush, absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle ); 5108 this.DrawPie( borderPen, absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle ); 5156 gradientPath.Y + position.Height * doughnutRadius /200 - 1 - shadowSize, 5161 path.AddArc( gradientPath.X, gradientPath.Y, gradientPath.Width, gradientPath.Height, startAngle + sweepAngle, -sweepAngle ); 5207 path.AddArc( position.X + shadowSize, position.Y + shadowSize, position.Width - shadowSize * 2f, position.Height - shadowSize * 2f, startAngle, sweepAngle ); 5208 path.AddArc( position.X, position.Y, position.Width, position.Height, startAngle + sweepAngle, -sweepAngle ); 5244 path.AddArc( innerPosition.X + shadowSize, innerPosition.Y + shadowSize, innerPosition.Width - 2f * shadowSize, innerPosition.Height - 2f * shadowSize, startAngle, sweepAngle ); 5245 path.AddArc( innerPosition.X, innerPosition.Y, innerPosition.Width, innerPosition.Height, startAngle + sweepAngle, -sweepAngle ); 5284 path.AddEllipse( absRect.X, absRect.Y, absRect.Width, absRect.Height ); 5303 this.FillPie( brush, absRect.X, absRect.Y, absRect.Width, absRect.Height, startAngle, sweepAngle );
Common\General\ChartGraphics3D.cs (23)
744path.AddArc(pieBottomRectangle.X, pieBottomRectangle.Y, pieBottomRectangle.Width, pieBottomRectangle.Height, startAngle, sweepAngle); 757path.AddArc(pieTopRectangle.X, pieTopRectangle.Y, pieTopRectangle.Width, pieTopRectangle.Height, startAngle + sweepAngle, -sweepAngle); 865path.AddArc(pieRectangle.X, pieRectangle.Y, pieRectangle.Width, pieRectangle.Height, startAngle, sweepAngle); 976pieDoughnutRectangle.Y = pieRectangle.Y + pieRectangle.Height * (1F - doughnutRadius) / 2F; 997path.AddArc(pieRectangle.X, pieRectangle.Y, pieRectangle.Width, pieRectangle.Height, startAngle, sweepAngle); 1006path.AddArc(pieDoughnutRectangle.X, pieDoughnutRectangle.Y, pieDoughnutRectangle.Width, pieDoughnutRectangle.Height, startAngle + sweepAngle, -sweepAngle); 2866 cubePoints[0] = new Point3D( position.X, position.Y, positionZ + depth ); 2869 cubePoints[3] = new Point3D( position.Right, position.Y, positionZ + depth ); 2872 cubePoints[4] = new Point3D( position.X, position.Y, positionZ ); 2875 cubePoints[7] = new Point3D( position.Right, position.Y, positionZ ); 3564path.AddEllipse(rect.X + shadowSize - 1, rect.Y + shadowSize - 1, rect.Width + 2, rect.Height + 2); 3734 cubePoints[0] = new Point3D( position.X, position.Y, positionZ + depth ); 3737 cubePoints[3] = new Point3D( position.Right, position.Y, positionZ + depth ); 3740 cubePoints[4] = new Point3D( position.X, position.Y, positionZ ); 3743 cubePoints[7] = new Point3D( position.Right, position.Y, positionZ ); 3979 cubePoints[0] = new Point3D( position.X, position.Y, positionZ + depth / 2f ); 3982 cubePoints[3] = new Point3D( position.Right, position.Y, positionZ + depth / 2f ); 3985 cubePoints[4] = new Point3D( middleXValue, position.Y, positionZ + depth ); 3988 cubePoints[7] = new Point3D( middleXValue, position.Y, positionZ ); 3992 cubePoints[0] = new Point3D( position.Right, position.Y, positionZ + depth / 2f ); 3993 cubePoints[1] = new Point3D( position.X, position.Y, positionZ + depth / 2f ); 3997 float middleYValue = position.Y + position.Height / 2f; 4176 boundsRectMiddlePoint.Y = boundsRect.Y + boundsRect.Height/2f;
Common\General\GridTickMarks.cs (2)
1481 first.Y = plotArea.Y; 1580 first.Y = plotArea.Y;
Common\General\ImageMap.cs (1)
274coord[1] = rect.Y;
Common\General\Label.cs (20)
1279 new PointF(labelRect.Right, labelRect.Y), 1760rect.Height = (float)Math.Max(fromPosition, toPosition) - rect.Y; 1883 rectLabels.Height = (float)Math.Max(rectLabels.Height, rectLabels.Y - labelsAxis.PlotAreaPosition.Y); 1907 rectLabels.Height = (float)Math.Max(rectLabels.Height, labelsAxis.PlotAreaPosition.Bottom - rectLabels.Y); 2278rect.Height = (float)Math.Max(fromPosition, toPosition) - rect.Y; 2302rectPoints[0] = new Point3D(rect.Right, rect.Y, labelsZPosition); 2303rectPoints[1] = new Point3D(rect.Right, rect.Y + rect.Height / 2f, labelsZPosition); 2307rect.Height = rectPoints[2].Y - rect.Y; 2312rectPoints[0] = new Point3D(rect.X, rect.Y, labelsZPosition); 2313rectPoints[1] = new Point3D(rect.X, rect.Y + rect.Height / 2f, labelsZPosition); 2317rect.Height = rectPoints[2].Y - rect.Y; 2333rect.Height = rectPoints[1].Y - rect.Y; 2339rect.Height = rectPoints[2].Y - rect.Y; 2347rect.Height = rectPoints[0].Y - rect.Y; 2355rectPoints[0] = new Point3D(rect.X, rect.Y, labelsZPosition); 2356rectPoints[1] = new Point3D(rect.X + rect.Width / 2f, rect.Y, labelsZPosition); 2357rectPoints[2] = new Point3D(rect.Right, rect.Y, labelsZPosition); 2371rect.Height = rectPoints[0].Y - rect.Y; 2385rect.Height = rectPoints[2].Y - rect.Y; 2468float height = labelPositionPoints[0].Y - rect.Y;
Common\General\Legend.cs (7)
1122 legendPosition.Y = chartAreasRectangle.Y + elementSpacing; 1164 legendPosition.Y = chartAreasRectangle.Y + elementSpacing; 1172 legendPosition.Y = chartAreasRectangle.Y + (chartAreasRectangle.Height - legendSize.Height) / 2F; 1184 legendPosition.Y = chartAreasRectangle.Y + elementSpacing; 1192 legendPosition.Y = chartAreasRectangle.Y + (chartAreasRectangle.Height - legendSize.Height) / 2F; 1199 this.Position.SetPositionNoAuto(legendPosition.X, legendPosition.Y, legendPosition.Width, legendPosition.Height); 4983 legend.Position.SetPositionNoAuto(legendPosition.X, legendPosition.Y, legendPosition.Width, legendPosition.Height);
Common\General\LegendColumns.cs (2)
1947this.Chart.CallOnPrePaint(new ChartPaintEventArgs(this, chartGraph, this.Common, new ElementPosition(rectRelative.X, rectRelative.Y, rectRelative.Width, rectRelative.Height))); 1966this.Chart.CallOnPostPaint(new ChartPaintEventArgs(this, chartGraph, this.Common, new ElementPosition(rectRelative.X, rectRelative.Y, rectRelative.Width, rectRelative.Height)));
Common\General\Matrix3D.cs (1)
246 _translateY = innerPlotRectangle.Y+innerPlotRectangle.Height/2;
Common\General\SmartLabels.cs (12)
939 graph.DrawRectangle(calloutPen, labelRectAbs.X, labelRectAbs.Y, labelRectAbs.Width, labelRectAbs.Height); 1050 if(labelPosition.X < 0f || labelPosition.Y < 0f || 1078 labelPosition.Y + labelPosition.Height/2f); 1094 !areaPath.IsVisible(new PointF(labelPosition.Right, labelPosition.Y)) || 1116 labelPosition.Y + labelPosition.Height/2f); 1175 labelPosition.Y + labelPosition.Height / 2f); 1226 if(point1.Y < rect.Y && point2.Y < rect.Y) 1242 if(point1.Y >= rect.Y && point1.Y <= rect.Bottom) 1267 else if(point1.Y < rect.Y && point2.Y < rect.Y) 1284 PointF intersection = CalloutAnnotation.GetIntersectionY(point1, point2, rect.Y);
Common\General\StripLine.cs (4)
370 rect.Height = (float)Math.Max(pos1, pos2) - rect.Y; 377 rect.Y = plotAreaPosition.Y; 450 point1.Y = plotAreaPosition.Y; 625 rect.Height = point2.Y - rect.Y;
Common\General\Title.cs (13)
1430 titlePosition.Y = titlePosition.Y - titlePosition.Height; 1436 titlePosition.Y = titlePosition.Y - titlePosition.Height/2f; 1487 titlePosition.Y, 1500 exactTitleRect.Y = titlePosition.Y + 1650center.Y = absPosition.Y + absPosition.Height / 2F; 1848 frameTitlePosition.Y, 1905 titlePosition.Y = chartAreasRectangle.Y + elementSpacing; 1933 titlePosition.Y = chartAreasRectangle.Y + elementSpacing; 1934 titlePosition.Height = chartAreasRectangle.Bottom - titlePosition.Y - elementSpacing; 1947 titlePosition.Y = chartAreasRectangle.Y + elementSpacing; 1948 titlePosition.Height = chartAreasRectangle.Bottom - titlePosition.Y - elementSpacing; 1972 this.Position.SetPositionNoAuto(titlePosition.X, titlePosition.Y, titlePosition.Width, titlePosition.Height); 2137 title.Position.SetPositionNoAuto(titlePosition.X, titlePosition.Y, titlePosition.Width, titlePosition.Height);
Common\Utilities\ElementPosition.cs (1)
217 this._y = rect.Y;
WinForm\Utilities\AccessibleObject.cs (1)
305absolute.Y = bounds.Y * (this._chart.Height - 1) / 100F;