2 writes to PlotAreaPosition
System.Windows.Forms.DataVisualization (2)
Common\General\ChartArea.cs (2)
1314 PlotAreaPosition = new ElementPosition(this); 3144this.PlotAreaPosition = null;
249 references to PlotAreaPosition
System.Windows.Forms.DataVisualization (249)
Common\Annotation\AnnotationBase.cs (1)
4099 RectangleF rect = chartArea.PlotAreaPosition.ToRectangleF();
Common\Annotation\AnnotationCollection.cs (1)
266 chartGraph.SetClip(chartArea.PlotAreaPosition.ToRectangleF());
Common\ChartTypes\AreaChart.cs (1)
609 graph.SetClip( Area.PlotAreaPosition.ToRectangleF() );
Common\ChartTypes\BarChart.cs (24)
460common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 603 if(rectSize.Y < area.PlotAreaPosition.Y || rectSize.Bottom > area.PlotAreaPosition.Bottom) 606 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 650if ((rectSize.Y + rectSize.Height / 2f) >= area.PlotAreaPosition.Y && 651(rectSize.Y + rectSize.Height / 2f) <= area.PlotAreaPosition.Bottom) 695common.Chart.CallOnPostPaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 902rectLabel.Width = area.PlotAreaPosition.Right - rectSize.Right; 906rectLabel.Width = rectSize.X - area.PlotAreaPosition.X; 907rectLabel.X = area.PlotAreaPosition.X; 913rectLabel.X = area.PlotAreaPosition.X; 914rectLabel.Width = rectSize.X - area.PlotAreaPosition.X; 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; 1522 rectSize.Y = area.PlotAreaPosition.Y; 1524 if(rectSize.Bottom > area.PlotAreaPosition.Bottom) 1526 rectSize.Height -= rectSize.Bottom - area.PlotAreaPosition.Bottom; 1704if ((decimal)rectSize.Y >= (decimal)area.PlotAreaPosition.Y && (decimal)rectSize.Bottom <= (decimal)area.PlotAreaPosition.Bottom) 1928rectLabel.Width = area.PlotAreaPosition.Right - rectSize.Right; 1932rectLabel.X = area.PlotAreaPosition.X; 1933rectLabel.Width = rectSize.X - area.PlotAreaPosition.X;
Common\ChartTypes\BoxPlotChart.cs (6)
313common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 400 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 668common.Chart.CallOnPostPaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 1089common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 1188 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 1458common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition));
Common\ChartTypes\BubbleChart.cs (1)
303 SizeF areaSize = graph.GetAbsoluteSize(area.PlotAreaPosition.Size);
Common\ChartTypes\ColumnChart.cs (13)
374common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 513 if(rectSize.X < area.PlotAreaPosition.X || rectSize.Right > area.PlotAreaPosition.Right) 516 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 562common.Chart.CallOnPostPaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 836 if(rectSize.Right <= area.PlotAreaPosition.X || rectSize.X >= area.PlotAreaPosition.Right) 841 if(rectSize.X < area.PlotAreaPosition.X) 843 rectSize.Width -= area.PlotAreaPosition.X - rectSize.X; 844 rectSize.X = area.PlotAreaPosition.X; 846 if(rectSize.Right > area.PlotAreaPosition.Right) 848 rectSize.Width -= rectSize.Right - area.PlotAreaPosition.Right; 1102 columnPosition, area.PlotAreaPosition.ToRectangleF() );
Common\ChartTypes\ErrorBarChart.cs (6)
441common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 560 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 713common.Chart.CallOnPostPaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 1190common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 1317 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 1486common.Chart.CallOnPostPaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition));
Common\ChartTypes\FastLineChart.cs (1)
389 graph.SetClip( area.PlotAreaPosition.ToRectangleF() );
Common\ChartTypes\FunnelChart.cs (1)
2176 Area.Position.ToRectangleF() : Area.PlotAreaPosition.ToRectangleF();
Common\ChartTypes\LineChart.cs (22)
403common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 570 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 714common.Chart.CallOnPostPaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 1667 decimal plotAreaPositionX = Math.Round((decimal)area.PlotAreaPosition.X, decimals); 1668 decimal plotAreaPositionY = Math.Round((decimal)area.PlotAreaPosition.Y, decimals); 1669 decimal plotAreaPositionRight = Math.Round((decimal)area.PlotAreaPosition.Right, decimals); 1670 decimal plotAreaPositionBottom = Math.Round((decimal)area.PlotAreaPosition.Bottom, decimals); 2033 decimal plotAreaPositionX = Math.Round((decimal)area.PlotAreaPosition.X, decimals); 2034 decimal plotAreaPositionY = Math.Round((decimal)area.PlotAreaPosition.Y, decimals); 2035 decimal plotAreaPositionRight = Math.Round((decimal)area.PlotAreaPosition.Right, decimals); 2036 decimal plotAreaPositionBottom = Math.Round((decimal)area.PlotAreaPosition.Bottom, decimals); 2080 thirdPoint.Y = area.PlotAreaPosition.Y; 2081 fourthPoint.Y = area.PlotAreaPosition.Y; 2087 thirdPoint.Y = area.PlotAreaPosition.Bottom; 2088 fourthPoint.Y = area.PlotAreaPosition.Bottom; 2118 intersectionPoint.yPosition = (double)area.PlotAreaPosition.Bottom; 2153 intersectionPoint2.yPosition = (double)area.PlotAreaPosition.Bottom; 2157 intersectionPoint2.yPosition = (double)area.PlotAreaPosition.Y; 2205 thirdPoint.Y = area.PlotAreaPosition.Y; 2211 thirdPoint.Y = area.PlotAreaPosition.Bottom; 2220 fourthPoint.Y = area.PlotAreaPosition.Y; 2225 fourthPoint.Y = area.PlotAreaPosition.Bottom;
Common\ChartTypes\PieChart.cs (16)
726common.Chart.CallOnPrePaint(new ChartPaintEventArgs(dataSeries[typeSeries[0]], graph, common, area.PlotAreaPosition)); 784 rectangle = new RectangleF( area.PlotAreaPosition.ToRectangleF().X, area.PlotAreaPosition.ToRectangleF().Y, area.PlotAreaPosition.ToRectangleF().Width, area.PlotAreaPosition.ToRectangleF().Height ); 1055common.Chart.CallOnPostPaint(new ChartPaintEventArgs(dataSeries[typeSeries[0]], graph, common, area.PlotAreaPosition)); 1772 if( x3 - size.Width < area.PlotAreaPosition.ToRectangleF().Left ) 1777 if( x3 + size.Width > area.PlotAreaPosition.ToRectangleF().Right ) 1783 if( y3 - size.Height/2 < area.PlotAreaPosition.ToRectangleF().Top ) 1788 if( y3 + size.Height/2 > area.PlotAreaPosition.ToRectangleF().Bottom ) 2416common.Chart.CallOnPrePaint(new ChartPaintEventArgs(dataSeries[typeSeries[0]], graph, common, area.PlotAreaPosition)); 2552 rectangle = new RectangleF( area.PlotAreaPosition.ToRectangleF().X, area.PlotAreaPosition.ToRectangleF().Y, area.PlotAreaPosition.ToRectangleF().Width, area.PlotAreaPosition.ToRectangleF().Height ); 2652common.Chart.CallOnPostPaint(new ChartPaintEventArgs(dataSeries[typeSeries[0]], graph, common, area.PlotAreaPosition));
Common\ChartTypes\PointChart.cs (2)
360common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 545common.Chart.CallOnPostPaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition));
Common\ChartTypes\RadarChart.cs (2)
384common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 842common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition));
Common\ChartTypes\RangeChart.cs (2)
273 graph.SetClip( Area.PlotAreaPosition.ToRectangleF() ); 502 graph.SetClip( Area.PlotAreaPosition.ToRectangleF() );
Common\ChartTypes\StackedAreaChart.cs (3)
409 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 515common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 794common.Chart.CallOnPostPaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition));
Common\ChartTypes\StackedBarChart.cs (19)
481 RectangleF areaPosition = ((ChartGraphics)graph).GetAbsoluteRectangle( area.PlotAreaPosition.ToRectangleF()); 733common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 871 if(rectSize.Y < area.PlotAreaPosition.Y || 872 rectSize.Bottom > area.PlotAreaPosition.Bottom || 873 rectSize.X < area.PlotAreaPosition.X || 874 rectSize.Right > area.PlotAreaPosition.Right) 877 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 923 labelRect.Intersect(area.PlotAreaPosition.ToRectangleF()); 954common.Chart.CallOnPostPaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 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; 1618 rectSize.Y = area.PlotAreaPosition.Y; 1620 if(rectSize.Bottom > area.PlotAreaPosition.Bottom) 1622 rectSize.Height -= rectSize.Bottom - area.PlotAreaPosition.Bottom; 1884rectLabel.Width = area.PlotAreaPosition.Right - rectSize.Right; 1888rectLabel.X = area.PlotAreaPosition.X; 1889rectLabel.Width = rectSize.X - area.PlotAreaPosition.X;
Common\ChartTypes\StackedColumnChart.cs (15)
487 RectangleF areaPosition = ((ChartGraphics)graph).GetAbsoluteRectangle( area.PlotAreaPosition.ToRectangleF()); 742common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 896 if(rectSize.X < area.PlotAreaPosition.X || 897 rectSize.Right > area.PlotAreaPosition.Right || 898 rectSize.Y < area.PlotAreaPosition.Y || 899 rectSize.Bottom > area.PlotAreaPosition.Bottom) 902 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 959common.Chart.CallOnPostPaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 1650 if(rectSize.Right <= area.PlotAreaPosition.X || rectSize.X >= area.PlotAreaPosition.Right) 1655 if(rectSize.X < area.PlotAreaPosition.X) 1657 rectSize.Width -= area.PlotAreaPosition.X - rectSize.X; 1658 rectSize.X = area.PlotAreaPosition.X; 1660 if(rectSize.Right > area.PlotAreaPosition.Right) 1662 rectSize.Width -= rectSize.Right - area.PlotAreaPosition.Right;
Common\ChartTypes\StockChart.cs (12)
361common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 431 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 631common.Chart.CallOnPostPaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 733 if( style == StockOpenCloseMarkStyle.Candlestick || (xPosition - width / 2f) < area.PlotAreaPosition.X || (xPosition + width / 2f) > area.PlotAreaPosition.Right) 736 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 1165common.Chart.CallOnPrePaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 1210 graph.SetClip( area.PlotAreaPosition.ToRectangleF() ); 1452common.Chart.CallOnPostPaint(new ChartPaintEventArgs(ser, graph, common, area.PlotAreaPosition)); 1558 if((xPosition - width / 2f) < area.PlotAreaPosition.X || (xPosition + width / 2f) > area.PlotAreaPosition.Right) 1561 graph.SetClip( area.PlotAreaPosition.ToRectangleF() );
Common\General\Axis.cs (47)
1764axisPosition = ChartArea.PlotAreaPosition.Bottom; 1766axisPosition = ChartArea.PlotAreaPosition.Bottom - axisPosition; 1772axisPosition = ChartArea.PlotAreaPosition.Y; 1774axisPosition = axisPosition - ChartArea.PlotAreaPosition.Y; 1780axisPosition = ChartArea.PlotAreaPosition.Right; 1782axisPosition = ChartArea.PlotAreaPosition.Right - axisPosition; 1788axisPosition = ChartArea.PlotAreaPosition.X; 1790axisPosition = axisPosition - ChartArea.PlotAreaPosition.X; 1815_titlePosition = ChartArea.PlotAreaPosition.ToRectangleF(); 1819_titlePosition.X = ChartArea.PlotAreaPosition.X - titleSizeWithoutSpacing - axisSize; 1820_titlePosition.Y = ChartArea.PlotAreaPosition.Y; 1824SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height); 1844SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height)); 1850_titlePosition.Y += ChartArea.PlotAreaPosition.Height / 2f - _titlePosition.Height / 2f; 1862_titlePosition.X = ChartArea.PlotAreaPosition.Right + axisSize; 1863_titlePosition.Y = ChartArea.PlotAreaPosition.Y; 1867SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height); 1887SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height)); 1893_titlePosition.Y += ChartArea.PlotAreaPosition.Height / 2f - _titlePosition.Height / 2f; 1905_titlePosition.Y = ChartArea.PlotAreaPosition.Y - titleSizeWithoutSpacing - axisSize; 1907_titlePosition.X = ChartArea.PlotAreaPosition.X; 1908_titlePosition.Width = ChartArea.PlotAreaPosition.Width; 1921_titlePosition.Y = ChartArea.PlotAreaPosition.Bottom + axisSize; 1923_titlePosition.X = ChartArea.PlotAreaPosition.X; 1924_titlePosition.Width = ChartArea.PlotAreaPosition.Width; 2039RectangleF rect = ChartArea.PlotAreaPosition.ToRectangleF(); 2140RectangleF rect = ChartArea.PlotAreaPosition.ToRectangleF(); 2286rotationCenter = new PointF(ChartArea.PlotAreaPosition.X, ChartArea.PlotAreaPosition.Y + ChartArea.PlotAreaPosition.Height / 2f); 2289rotationCenter.Y = ChartArea.PlotAreaPosition.Bottom - axisTitleSize.Height / 2f; 2293rotationCenter.Y = ChartArea.PlotAreaPosition.Y + axisTitleSize.Height / 2f; 2298rotationCenter = new PointF(ChartArea.PlotAreaPosition.Right, ChartArea.PlotAreaPosition.Y + ChartArea.PlotAreaPosition.Height / 2f); 2301rotationCenter.Y = ChartArea.PlotAreaPosition.Bottom - axisTitleSize.Height / 2f; 2305rotationCenter.Y = ChartArea.PlotAreaPosition.Y + axisTitleSize.Height / 2f; 2310rotationCenter = new PointF(ChartArea.PlotAreaPosition.X + ChartArea.PlotAreaPosition.Width / 2f, ChartArea.PlotAreaPosition.Y); 2313rotationCenter.X = ChartArea.PlotAreaPosition.X + axisTitleSize.Width / 2f; 2317rotationCenter.X = ChartArea.PlotAreaPosition.Right - axisTitleSize.Width / 2f; 2322rotationCenter = new PointF(ChartArea.PlotAreaPosition.X + ChartArea.PlotAreaPosition.Width / 2f, ChartArea.PlotAreaPosition.Bottom); 2325rotationCenter.X = ChartArea.PlotAreaPosition.X + axisTitleSize.Width / 2f; 2329rotationCenter.X = ChartArea.PlotAreaPosition.Right - axisTitleSize.Width / 2f;
Common\General\Chart.cs (13)
3106 RectangleF areaPlotPosition = ((ChartArea)areasGroup[0]).PlotAreaPosition.ToRectangleF(); 3109 if(area.PlotAreaPosition.X > areaPlotPosition.X) 3111 areaPlotPosition.X += area.PlotAreaPosition.X - areaPlotPosition.X; 3112 areaPlotPosition.Width -= area.PlotAreaPosition.X - areaPlotPosition.X; 3114 if(area.PlotAreaPosition.Y > areaPlotPosition.Y) 3116 areaPlotPosition.Y += area.PlotAreaPosition.Y - areaPlotPosition.Y; 3117 areaPlotPosition.Height -= area.PlotAreaPosition.Y - areaPlotPosition.Y; 3119 if(area.PlotAreaPosition.Right < areaPlotPosition.Right) 3121 areaPlotPosition.Width -= areaPlotPosition.Right - area.PlotAreaPosition.Right; 3127 if(area.PlotAreaPosition.Bottom < areaPlotPosition.Bottom) 3129 areaPlotPosition.Height -= areaPlotPosition.Bottom - area.PlotAreaPosition.Bottom; 3143 RectangleF rect = area.PlotAreaPosition.ToRectangleF(); 3158 area.PlotAreaPosition.SetPositionNoAuto(rect.X, rect.Y, rect.Width, rect.Height);
Common\General\ChartArea.cs (29)
1312 if( PlotAreaPosition == null ) 1355 _axisArray[0].ReCalc( PlotAreaPosition ); 1356 _axisArray[1].ReCalc( PlotAreaPosition ); 1357 _axisArray[2].ReCalc( PlotAreaPosition ); 1358 _axisArray[3].ReCalc( PlotAreaPosition ); 1376 _axisArray[0].ReCalc( PlotAreaPosition ); 1377 _axisArray[1].ReCalc( PlotAreaPosition ); 1378 _axisArray[2].ReCalc( PlotAreaPosition ); 1379 _axisArray[3].ReCalc( PlotAreaPosition ); 1408 RectangleF backgroundPosition = PlotAreaPosition.ToRectangleF(); 1530 axis.Resize(chartGraph, this.PlotAreaPosition, plottingRect, horizontalAxes, InnerPlotPosition.Auto); 1534 axis.Resize(chartGraph, this.PlotAreaPosition, plottingRect, verticalAxes, InnerPlotPosition.Auto); 1590 axis.Resize(chartGraph, this.PlotAreaPosition, plottingRect, horizontalAxes, InnerPlotPosition.Auto); 1594 axis.Resize(chartGraph, this.PlotAreaPosition, plottingRect, verticalAxes, InnerPlotPosition.Auto); 1828 FitCircularLabels(chartGraph, this.PlotAreaPosition, ref plottingRect, xTitleSize, yTitleSize); 1842 PlotAreaPosition.FromRectangleF(plottingRect); 1919 axis.labelNearOffset < PlotAreaPosition.X) 1935 axis.labelFarOffset > PlotAreaPosition.Right) 1968 axis.labelNearOffset < PlotAreaPosition.X) 1984 axis.labelFarOffset > PlotAreaPosition.Right) 2081if (PlotAreaPosition.Width == 0 && 2082PlotAreaPosition.Height == 0 && 2096PlotAreaPosition.FromRectangleF(plottingRect); 2112Common.Chart.CallOnPrePaint(new ChartPaintEventArgs(this, graph, Common, PlotAreaPosition)); 2132Common.Chart.CallOnPostPaint(new ChartPaintEventArgs(this, graph, Common, PlotAreaPosition)); 2150currentAxis.paintAreaPosition = PlotAreaPosition.ToRectangleF(); 2350Common.Chart.CallOnPostPaint(new ChartPaintEventArgs(this, graph, Common, PlotAreaPosition)); 3141if (this.PlotAreaPosition != null) 3143this.PlotAreaPosition.Dispose();
Common\General\ChartGraphics3D.cs (4)
1811 decimal plotAreaPositionX = Math.Round((decimal)area.PlotAreaPosition.X, decimals); 1812 decimal plotAreaPositionY = Math.Round((decimal)area.PlotAreaPosition.Y, decimals); 1813 decimal plotAreaPositionRight = Math.Round((decimal)area.PlotAreaPosition.Right, decimals); 1814 decimal plotAreaPositionBottom = Math.Round((decimal)area.PlotAreaPosition.Bottom, decimals);
Common\General\Label.cs (1)
1163this._axis.ChartArea.PlotAreaPosition.Y);
Common\General\Legend.cs (1)
5025 RectangleF legendPlottingRectangle = area.PlotAreaPosition.ToRectangleF();
Common\General\Selection.cs (1)
3135IList list1 = this.GetMarkers(area.PlotAreaPosition.ToRectangleF(), ChartElementType.PlottingArea);
Common\General\SmartLabels.cs (3)
1072 areaPath.AddEllipse(area.PlotAreaPosition.ToRectangleF()); 1117 if(!area.PlotAreaPosition.ToRectangleF().Contains(centerPos)) 1131 if(!area.PlotAreaPosition.ToRectangleF().Contains(labelPosition))
Common\General\StripLine.cs (1)
257 RectangleF plotAreaPosition = this.Axis.ChartArea.PlotAreaPosition.ToRectangleF();
Common\General\Title.cs (1)
2195 RectangleF titlePlottingRectangle = area.PlotAreaPosition.ToRectangleF();