182 writes to Height
System.Web.DataVisualization (90)
Common\Annotation\AnnotationBase.cs (7)
3169 size.Height += movingDistance.Height; 3174 size.Height += movingDistance.Height; 3180 size.Height += movingDistance.Height; 3189 size.Height -= movingDistance.Height; 3193 size.Height -= movingDistance.Height; 3199 size.Height -= movingDistance.Height; 3226 size.Height = float.NaN;
Common\Annotation\CalloutAnnotation.cs (2)
1124 ellipseSize.Height /= 10f; 1214 ellipseSize.Height *= 1.5f;
Common\Annotation\PolygonAnnotation.cs (1)
882 movingDistance.Height /= startMovePositionRel.Height / 100.0f;
Common\Annotation\TextAnnotation.cs (2)
956 contentSize.Height *= 1.04f; 981 contentSize.Height += (textSpacing.Y + textSpacing.Height) * spacingScaleY;
Common\Borders3D\EmbedBorder.cs (4)
846 relSizeLeftTop.Height += defaultRadiusSize * 0.85f; 848 relSizeRightBottom.Height += defaultRadiusSize * 0.7f; 855 relSizeLeftTop.Height = 0; 859 relSizeRightBottom.Height = 0;
Common\ChartTypes\BarChart.cs (6)
720size.Height = pixelSize * graph.Graphics.DpiY / 96; 768 markerSize.Height = point.MarkerSize; 1032valueTextSize.Height += valueTextSize.Height / 8; 1751 markerSize.Height = point.MarkerSize; 1876markerSize.Height = point.MarkerSize; 2115sizeLabel.Height += sizeLabel.Height / 8;
Common\ChartTypes\BoxPlotChart.cs (3)
485 relBorderWidth.Height = 0; 851size.Height = markerSize * graph.Graphics.DpiY / 96; 967sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\BubbleChart.cs (2)
187size.Height = markerSize * graph.Graphics.DpiY / 96; 195 size.Height = ScaleBubbleSize(graph, common, area, point.YValues[1]);
Common\ChartTypes\ColumnChart.cs (2)
1252sizeLabel.Height += sizeFont.Height / 8; 1374sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\ErrorBarChart.cs (2)
908size.Height = markerSize * graph.Graphics.DpiY / 96; 1024sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\FunnelChart.cs (2)
2410neckSize.Height = h; 2423 neckSize.Height = this.PlotAreaPosition.Height/2f;
Common\ChartTypes\PieChart.cs (4)
1261sizeLabel.Height += sizeLabel.Height / 8; 1402valueTextSize.Height += valueTextSize.Height / 8; 5500valueTextSize.Height += valueTextSize.Height / 8; 5577 sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\PointChart.cs (4)
709sizeLabel.Height += sizeSingleCharacter.Height / 2; 897sizeLabel.Height -= sizeFont.Height / 2; 898sizeLabel.Height += sizeFont.Height / 8; 1419size.Height = markerSize * graph.Graphics.DpiY / 96;
Common\ChartTypes\RadarChart.cs (3)
964size.Height = markerSize * graph.Graphics.DpiY / 96; 1076sizeLabel.Height += sizeLabel.Height / 2; 1244sizeLabel.Height += sizeLabel.Height / 8;
Common\ChartTypes\StackedAreaChart.cs (2)
1043sizeLabel.Height += sizeFont.Height / 8; 1525sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\StackedBarChart.cs (2)
1181sizeLabel.Height += sizeFont.Height / 8; 2085sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\StackedColumnChart.cs (2)
1238sizeLabel.Height += sizeFont.Height / 8; 1950sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\StockChart.cs (9)
541 markerSize.Height = point.MarkerSize; 546markerSize.Height = point.MarkerSize * graph.Graphics.DpiY / 96; 1008markerSize.Height = point.MarkerSize; 1013markerSize.Height = point.MarkerSize * graph.Graphics.DpiY / 96; 1063sizeLabel.Height += sizeFont.Height / 8; 1368 markerSize.Height = point.MarkerSize; 1373markerSize.Height = point.MarkerSize * graph.Graphics.DpiY / 96; 1875 markerSize.Height = point.MarkerSize; 1880markerSize.Height = point.MarkerSize * common.graph.Graphics.DpiY / 96;
Common\General\Axis.cs (14)
2252axisTitleSize.Height = axisTitleSize.Width; 4871textSize.Height = tempValue; 5324axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5334axisLabelSize.Height += spacerSize.Height; 5496axisLabelSize.Height += imageRelSize.Height; 5502axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5513axisLabelSize.Height += spacerSize.Height; 5731axisLabelSize.Height += imageRelSize.Height; 5737axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5748axisLabelSize.Height += spacerSize.Height; 5767axisLabelSize.Height = (float)Math.Ceiling(axisLabelSize.Height) * 1.05f; 5940axisLabelSize.Height = (float)Math.Ceiling(axisLabelSize.Height); 5952 axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5962 axisLabelSize.Height += spacerSize.Height;
Common\General\ChartArea.cs (2)
2667 areaDiff.Height -= titleSize.Height; 2693 textSize.Height = (float)Math.Ceiling(textSize.Height * 1.1f);
Common\General\ChartArea3D.cs (1)
2093 interval.Height = interval.Height * 100F / ((float)(this.Common.Chart.Height.Value - 1));
Common\General\ChartGraphics.cs (3)
1714size.Height += 10; 4702 relative.Height = size.Height * 100F / ((float)(_height - 1)); 4770 absolute.Height = size.Height * (_height - 1) / 100F;
Common\General\Legend.cs (1)
1098maxSize.Height = (maxSize.Height / 100F) * this._maximumLegendAutoSize;
Common\General\StripLine.cs (1)
714size.Height *= size.Height / (textSizeProjection[2].Y - textSizeProjection[0].Y);
Common\General\Title.cs (7)
1376layoutArea.Height = tempValue; 1392 titleSize.Height += titleBorderSpacing; 1400titleSize.Height = tempValue; 1864layoutArea.Height = tempValue; 1869 layoutArea.Height -= 2f * elementSpacing; 1882 titleSize.Height += titleBorderSpacing; 1890titleSize.Height = tempValue;
Common\Utilities\ImageLoader.cs (2)
390size.Height = image.Height * graphics.DpiY / image.VerticalResolution; 395size.Height = image.Height;
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ContainerControl.cs (1)
761retval.Height = tm.tmHeight;
System.Windows.Forms.DataVisualization (91)
Common\Annotation\AnnotationBase.cs (7)
3169 size.Height += movingDistance.Height; 3174 size.Height += movingDistance.Height; 3180 size.Height += movingDistance.Height; 3189 size.Height -= movingDistance.Height; 3193 size.Height -= movingDistance.Height; 3199 size.Height -= movingDistance.Height; 3226 size.Height = float.NaN;
Common\Annotation\CalloutAnnotation.cs (2)
1124 ellipseSize.Height /= 10f; 1214 ellipseSize.Height *= 1.5f;
Common\Annotation\PolygonAnnotation.cs (1)
882 movingDistance.Height /= startMovePositionRel.Height / 100.0f;
Common\Annotation\TextAnnotation.cs (2)
956 contentSize.Height *= 1.04f; 981 contentSize.Height += (textSpacing.Y + textSpacing.Height) * spacingScaleY;
Common\Borders3D\EmbedBorder.cs (4)
846 relSizeLeftTop.Height += defaultRadiusSize * 0.85f; 848 relSizeRightBottom.Height += defaultRadiusSize * 0.7f; 855 relSizeLeftTop.Height = 0; 859 relSizeRightBottom.Height = 0;
Common\ChartTypes\BarChart.cs (6)
720size.Height = pixelSize * graph.Graphics.DpiY / 96; 768 markerSize.Height = point.MarkerSize; 1032valueTextSize.Height += valueTextSize.Height / 8; 1751 markerSize.Height = point.MarkerSize; 1876markerSize.Height = point.MarkerSize; 2115sizeLabel.Height += sizeLabel.Height / 8;
Common\ChartTypes\BoxPlotChart.cs (3)
485 relBorderWidth.Height = 0; 851size.Height = markerSize * graph.Graphics.DpiY / 96; 967sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\BubbleChart.cs (2)
187size.Height = markerSize * graph.Graphics.DpiY / 96; 195 size.Height = ScaleBubbleSize(graph, common, area, point.YValues[1]);
Common\ChartTypes\ColumnChart.cs (2)
1252sizeLabel.Height += sizeFont.Height / 8; 1374sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\ErrorBarChart.cs (2)
908size.Height = markerSize * graph.Graphics.DpiY / 96; 1024sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\FunnelChart.cs (2)
2410neckSize.Height = h; 2423 neckSize.Height = this.PlotAreaPosition.Height/2f;
Common\ChartTypes\PieChart.cs (4)
1261sizeLabel.Height += sizeLabel.Height / 8; 1402valueTextSize.Height += valueTextSize.Height / 8; 5500valueTextSize.Height += valueTextSize.Height / 8; 5577 sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\PointChart.cs (4)
709sizeLabel.Height += sizeSingleCharacter.Height / 2; 897sizeLabel.Height -= sizeFont.Height / 2; 898sizeLabel.Height += sizeFont.Height / 8; 1419size.Height = markerSize * graph.Graphics.DpiY / 96;
Common\ChartTypes\RadarChart.cs (3)
964size.Height = markerSize * graph.Graphics.DpiY / 96; 1076sizeLabel.Height += sizeLabel.Height / 2; 1244sizeLabel.Height += sizeLabel.Height / 8;
Common\ChartTypes\StackedAreaChart.cs (2)
1043sizeLabel.Height += sizeFont.Height / 8; 1525sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\StackedBarChart.cs (2)
1181sizeLabel.Height += sizeFont.Height / 8; 2085sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\StackedColumnChart.cs (2)
1238sizeLabel.Height += sizeFont.Height / 8; 1950sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\StockChart.cs (9)
541 markerSize.Height = point.MarkerSize; 546markerSize.Height = point.MarkerSize * graph.Graphics.DpiY / 96; 1008markerSize.Height = point.MarkerSize; 1013markerSize.Height = point.MarkerSize * graph.Graphics.DpiY / 96; 1063sizeLabel.Height += sizeFont.Height / 8; 1368 markerSize.Height = point.MarkerSize; 1373markerSize.Height = point.MarkerSize * graph.Graphics.DpiY / 96; 1875 markerSize.Height = point.MarkerSize; 1880markerSize.Height = point.MarkerSize * common.graph.Graphics.DpiY / 96;
Common\General\Axis.cs (14)
2252axisTitleSize.Height = axisTitleSize.Width; 4871textSize.Height = tempValue; 5324axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5334axisLabelSize.Height += spacerSize.Height; 5496axisLabelSize.Height += imageRelSize.Height; 5502axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5513axisLabelSize.Height += spacerSize.Height; 5731axisLabelSize.Height += imageRelSize.Height; 5737axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5748axisLabelSize.Height += spacerSize.Height; 5767axisLabelSize.Height = (float)Math.Ceiling(axisLabelSize.Height) * 1.05f; 5940axisLabelSize.Height = (float)Math.Ceiling(axisLabelSize.Height); 5952 axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5962 axisLabelSize.Height += spacerSize.Height;
Common\General\ChartArea.cs (2)
2667 areaDiff.Height -= titleSize.Height; 2693 textSize.Height = (float)Math.Ceiling(textSize.Height * 1.1f);
Common\General\ChartArea3D.cs (1)
2090 interval.Height = interval.Height * 100F / ((float)(this.Common.Chart.Height - 1));
Common\General\ChartGraphics.cs (3)
1714size.Height += 10; 4702 relative.Height = size.Height * 100F / ((float)(_height - 1)); 4770 absolute.Height = size.Height * (_height - 1) / 100F;
Common\General\Legend.cs (1)
1098maxSize.Height = (maxSize.Height / 100F) * this._maximumLegendAutoSize;
Common\General\StripLine.cs (1)
714size.Height *= size.Height / (textSizeProjection[2].Y - textSizeProjection[0].Y);
Common\General\Title.cs (7)
1376layoutArea.Height = tempValue; 1392 titleSize.Height += titleBorderSpacing; 1400titleSize.Height = tempValue; 1864layoutArea.Height = tempValue; 1869 layoutArea.Height -= 2f * elementSpacing; 1882 titleSize.Height += titleBorderSpacing; 1890titleSize.Height = tempValue;
Common\Utilities\ImageLoader.cs (2)
390size.Height = image.Height * graphics.DpiY / image.VerticalResolution; 395size.Height = image.Height;
WinForm\Utilities\AccessibleObject.cs (1)
320rectSize.Height *= this._chartScale.Y;
1001 references to Height
System.Drawing (21)
commonui\System\Drawing\Advanced\PointF.cs (2)
187return new PointF(pt.X + sz.Width, pt.Y + sz.Height); 196return new PointF(pt.X - sz.Width, pt.Y - sz.Height);
commonui\System\Drawing\Advanced\RectangleF.cs (3)
68this.height = size.Height; 117this.Height = value.Height; 371Inflate(size.Width, size.Height);
commonui\System\Drawing\Advanced\SizeF.cs (9)
113return sz1.Width == sz2.Width && sz1.Height == sz2.Height; 134return new PointF(size.Width, size.Height); 195return new SizeF(sz1.Width + sz2.Width, sz1.Height + sz2.Height); 206return new SizeF(sz1.Width - sz2.Width, sz1.Height - sz2.Height); 224(comp.Height == this.Height) &&
commonui\System\Drawing\Advanced\SizeFConverter.cs (2)
126args[nArg++] = floatConverter.ConvertToString(context, culture, size.Height); 135return new InstanceDescriptor(ctor, new object[] {size.Width, size.Height});
commonui\System\Drawing\Graphics.cs (2)
2524GPRECTF grfLayout = new GPRECTF(0, 0, layoutArea.Width, layoutArea.Height); 2588GPRECTF grfLayout = new GPRECTF(0, 0, layoutArea.Width, layoutArea.Height);
commonui\System\Drawing\Size.cs (3)
193return new Size((int)Math.Ceiling(value.Width), (int)Math.Ceiling(value.Height)); 211return new Size((int)value.Width, (int)value.Height); 220return new Size((int)Math.Round(value.Width), (int)Math.Round(value.Height));
System.Web.DataVisualization (473)
Common\Annotation\AnnotationBase.cs (22)
2065 rect.Y - markerSizeRel.Height/2f, 2067 markerSizeRel.Height); 2070 rect.Bottom - markerSizeRel.Height/2f, 2072 markerSizeRel.Height); 2139 handlePosition.Y - markerSizeRel.Height/2f, 2141 markerSizeRel.Height); 2231 (float)anchorY - markerSizeRel.Height/2f, 2233 markerSizeRel.Height); 2466 groupScaleY = groupSize.Height / 100.0; 3167 firstPoint.Y -= movingDistance.Height; 3169 size.Height += movingDistance.Height; 3173 firstPoint.Y -= movingDistance.Height; 3174 size.Height += movingDistance.Height; 3178 firstPoint.Y -= movingDistance.Height; 3180 size.Height += movingDistance.Height; 3189 size.Height -= movingDistance.Height; 3193 size.Height -= movingDistance.Height; 3199 size.Height -= movingDistance.Height; 3209 anchorPoint.Y -= movingDistance.Height; 3214 firstPoint.Y -= movingDistance.Height; 3542 (float)anchorY - markerSizeRel.Height/2f, 3544 markerSizeRel.Height);
Common\Annotation\ArrowAnnotation.cs (1)
314 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\CalloutAnnotation.cs (5)
651 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 1177 dyAbs -= size.Height; 1179 dyAbs += size.Height; 1190 ellipseLocation.Y - ellipseSize.Height / 2f, 1192 ellipseSize.Height);
Common\Annotation\GroupAnnotation.cs (1)
921 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\ImageAnnotation.cs (2)
525 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 711return new RectangleF(float.NaN, float.NaN, imageSize.Width, imageSize.Height);
Common\Annotation\LineAnnotation.cs (1)
569 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\PolygonAnnotation.cs (2)
566 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 899 pathPoints[pointIndex].Y -= movingDistance.Height;
Common\Annotation\RectangleAnnotation.cs (2)
389 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 627 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\TextAnnotation.cs (7)
419 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 658textActualPosition.Y += textPositionWithSpacing.Height - textSize.Height; 664textActualPosition.Y += (textPositionWithSpacing.Height - textSize.Height) / 2f; 926 return new RectangleF(float.NaN, float.NaN, contentSize.Width, contentSize.Height); 973 if(contentSize.Height > 25f) 975 spacingScaleY = contentSize.Height / 25f; 983 result = new RectangleF(float.NaN, float.NaN, contentSize.Width, contentSize.Height);
Common\Borders3D\EmbedBorder.cs (14)
347 this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 363this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 386 this.sizeLeftTop = new SizeF(0, sizeLeftTop.Height); 387 this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 404this.sizeLeftTop = new SizeF(0, sizeLeftTop.Height); 405this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 684 rect.Y += sizeLeftTop.Height; 686 rect.Height -= sizeRightBottom.Height + sizeLeftTop.Height; 854 if(relSizeLeftTop.Height > 30f) 858 if(relSizeRightBottom.Height > 30f) 864 areasRect.Y += relSizeLeftTop.Height; 865 areasRect.Height -= (float)Math.Min(areasRect.Height, relSizeLeftTop.Height + relSizeRightBottom.Height);
Common\Borders3D\EmbossBorder.cs (3)
123 if(borderSize.Height < 30f) 125 areasRect.Y += borderSize.Height; 126 areasRect.Height -= (float)Math.Min(areasRect.Height, borderSize.Height * 2.5f);
Common\ChartTypes\BarChart.cs (15)
721pixelSize = (int)Math.Max(size.Width, size.Height); 1032valueTextSize.Height += valueTextSize.Height / 8; 1037rectLabel.Y + (rectLabel.Height - valueTextSize.Height) / 2, 1039valueTextSize.Height); 1062if (textSize.Height > rectLabel.Height) 1064rectLabel.Y -= (textSize.Height - rectLabel.Height) / 2f; 1065rectLabel.Height = textSize.Height; 1123 new RectangleF(markerPosition.X - relativeMarkerSize.Width/2f, markerPosition.Y - relativeMarkerSize.Height/2f, relativeMarkerSize.Width, relativeMarkerSize.Height), 2060rotationCenter.Y = rectLabel.Top + size.Height / 2; 2064rotationCenter.Y = rectLabel.Bottom - size.Height / 2; 2114SizeF sizeLabel = new SizeF(size.Width, size.Height); 2115sizeLabel.Height += sizeLabel.Height / 8; 2119rotationCenter.Y - sizeLabel.Height / 2, 2121sizeLabel.Height);
Common\ChartTypes\BoxPlotChart.cs (5)
649 high -= relMarkerSize.Height / 2f; 823 new RectangleF(xPosition, yPosition, markerSize.Width, markerSize.Height)); 916position.Y -= markerSizes.Height / 2f; 966SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 967sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\BubbleChart.cs (2)
304 _maxBubleSize = (float)(Math.Min(areaSize.Width, areaSize.Height) / (100.0/_maxPossibleBubbleSize)); 305 _minBubleSize = (float)(Math.Min(areaSize.Width, areaSize.Height) / (100.0/_minPossibleBubbleSize));
Common\ChartTypes\ColumnChart.cs (16)
452 (columnStartPosition - height) < pixelRelSize.Height) 454 height = columnStartPosition - pixelRelSize.Height; 457 (height - columnStartPosition) < pixelRelSize.Height) 459 height = columnStartPosition + pixelRelSize.Height; 780 (columnStartPosition - height) < pixelRelSize.Height) 782 height = columnStartPosition - pixelRelSize.Height; 785 (height - columnStartPosition) < pixelRelSize.Height) 787 height = columnStartPosition + pixelRelSize.Height; 1144 (int)markerSize.Height, 1152 new RectangleF(markerPosition.X, markerPosition.Y, markerSize.Width, markerSize.Height)); 1191 new RectangleF(markerPosition.X - relativeMarkerSize.Width/2f, markerPosition.Y - relativeMarkerSize.Height/2f, relativeMarkerSize.Width, relativeMarkerSize.Height), 1250SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1252sizeLabel.Height += sizeFont.Height / 8; 1372SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1374sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\ErrorBarChart.cs (4)
880 new RectangleF(xPosition, yPosition, markerSize.Width, markerSize.Height)); 973position.Y -= markerSizes.Height / 2f; 1023SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1024sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\FastPointChart.cs (3)
310 double axesValuesPixelSizeY = Math.Abs(vAxis.PositionToValue(axesMin.Height + pixelSize.Height, false) - vAxis.PositionToValue(axesMin.Height, false));
Common\ChartTypes\FunnelChart.cs (23)
589 plotAreaPositionAbs.Bottom - this._funnelNeckSize.Height ); 598 plotAreaPositionAbs.Bottom - this._funnelNeckSize.Height ); 1057 intersection.Y = plotAreaPositionAbs.Bottom - this._funnelNeckSize.Height; 1131 intersection.Y = plotAreaPositionAbs.Bottom - this._funnelNeckSize.Height; 1563 labelBackPosition.Inflate(spacing.Width / 2f, spacing.Height / 8f); 1816 labelInfo.Position.Height = labelInfo.Size.Height; 1851 labelInfo.Size.Height / 2f; 1935 labelInfo.Size.Height / 2f; 1953 labelInfo.Size.Height / 2f; 2003 labelInfo.Size.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; 2414if (!parseSucceed || neckSize.Height < 0 || neckSize.Height > 100) 2421 if(neckSize.Height > this.PlotAreaPosition.Height/2f) 2472gapSize = this.Graph.GetAbsoluteSize(new SizeF(gapSize, gapSize)).Height;
Common\ChartTypes\PieChart.cs (34)
793 float absRadius = ( absoluteSize.Width < absoluteSize.Height ) ? absoluteSize.Width : absoluteSize.Height; 802 rectangle = new RectangleF( middlePoint.X - relativeSize.Width / 2, middlePoint.Y - relativeSize.Height / 2, relativeSize.Width, relativeSize.Height ); 1233 height = relativeSize.Height * expShift / positionRatio * ( 1 + ( 100 - doughnutRadius ) / 100F ); 1238 height = relativeSize.Height * expShift / positionRatio; 1260SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1261sizeLabel.Height += sizeLabel.Height / 8; 1310 float y1 = (float)Math.Sin( (midAngle) * Math.PI / 180 ) * relativeSize.Height * expShift / 2 + middlePoint.Y; 1313 float y2 = (float)Math.Sin( (midAngle) * Math.PI / 180 ) * relativeSize.Height * shift * expShift + middlePoint.Y; 1333float y3 = (float)Math.Sin((midAngle) * Math.PI / 180) * relativeSize.Height * shift * expShift + middlePoint.Y; 1402valueTextSize.Height += valueTextSize.Height / 8; 1407rect.Y + rect.Height / 2f - valueTextSize.Height / 2f, 1409valueTextSize.Height); 1502 labelRect.Y = labelPosition.Y - size.Height / 2 * 1.8f; 1503 labelRect.Height = size.Height * 1.8f; 1715 float y3 = (float)Math.Sin( (midAngle) * Math.PI / 180 ) * relativeSize.Height * shift * expShift + middlePoint.Y; 1783 if( y3 - size.Height/2 < area.PlotAreaPosition.ToRectangleF().Top ) 1788 if( y3 + size.Height/2 > area.PlotAreaPosition.ToRectangleF().Bottom ) 2556 float absRadius = ( absoluteSize.Width < absoluteSize.Height ) ? absoluteSize.Width : absoluteSize.Height; 2565 rectangle = new RectangleF( middlePoint.X - relativeSize.Width / 2, middlePoint.Y - relativeSize.Height / 2, relativeSize.Width, relativeSize.Height ); 5322 maxSizeVertical = Math.Max( size.Height, maxSizeVertical ); 5456float labelVertSize = graph.GetAbsoluteSize(new SizeF(0f, this.labelColumnRight.columnHeight)).Height; 5476float labelVertSize = graph.GetAbsoluteSize(new SizeF(0f, this.labelColumnLeft.columnHeight)).Height; 5500valueTextSize.Height += valueTextSize.Height / 8; 5505labelPosition.Y + labelPosition.Height / 2f - valueTextSize.Height / 2f, 5507valueTextSize.Height); 5576 SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 5577 sizeLabel.Height += sizeFont.Height / 8; 5581 labelPosition.Y - sizeLabel.Height/2 - sizeFont.Height / 10, 5583 sizeLabel.Height);
Common\ChartTypes\PointAndFigureChart.cs (2)
762 if(markSize.Width > markSize.Height) 764 pointCount = (int)(pointAndFigureSeries.Points.Count * (markSize.Width / markSize.Height));
Common\ChartTypes\PointChart.cs (40)
485 (int)markerSize.Height, 493 new RectangleF(markerPosition.X, markerPosition.Y, markerSize.Width, markerSize.Height)); 530 (int)markerSize.Height, 635 new RectangleF(markerPosition.X - relativeMarkerSize.Width/2f, markerPosition.Y - relativeMarkerSize.Height/2f, relativeMarkerSize.Width, relativeMarkerSize.Height), 707SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 709sizeLabel.Height += sizeSingleCharacter.Height / 2; 785position.Y += sizeMarker.Height / 1.75F; 786position.Y += sizeLabel.Height / 2F; 790position.Y -= sizeMarker.Height / 1.75F; 791position.Y -= sizeLabel.Height / 2F; 795position.X -= sizeMarker.Height / 1.75F + horizontalSpacing / 2f; 799position.X -= sizeMarker.Height / 1.75F + horizontalSpacing / 2f; 800position.Y -= sizeMarker.Height / 1.75F; 801position.Y -= sizeLabel.Height / 2F; 805position.X -= sizeMarker.Height / 1.75F + horizontalSpacing / 2f; 806position.Y += sizeMarker.Height / 1.75F; 807position.Y += sizeLabel.Height / 2F; 811position.X += sizeMarker.Height / 1.75F + horizontalSpacing / 2f; 815position.X += sizeMarker.Height / 1.75F + horizontalSpacing / 2f; 816position.Y -= sizeMarker.Height / 1.75F; 817position.Y -= sizeLabel.Height / 2F; 821position.X += sizeMarker.Height / 1.75F + horizontalSpacing / 2f; 822position.Y += sizeMarker.Height / 1.75F; 823position.Y += sizeLabel.Height / 2F; 865position.Y += sizeLabel.Height / 2F; 869position.Y -= sizeLabel.Height / 2F; 897sizeLabel.Height -= sizeFont.Height / 2; 898sizeLabel.Height += sizeFont.Height / 8; 975 labelPosition.Height = size.Height; 1013 labelPosition.Y = position.Y - size.Height; 1021 labelPosition.Y = position.Y - size.Height/2F; 1024 labelPosition.Y -= 1f * pixelSize.Height; 1227 (int)markerSize.Height, 1235 new RectangleF(markerRotatedPosition.X, markerRotatedPosition.Y, markerSize.Width, markerSize.Height), 1316 new RectangleF(markerRotatedPosition.X - relativeMarkerSize.Width/2f, markerRotatedPosition.Y - relativeMarkerSize.Height/2f, relativeMarkerSize.Width, relativeMarkerSize.Height), 1350 (int)labelInfo.MarkerSize.Height, 1768 markerPosition.Y - markerSize.Height / 2f, 1770 markerSize.Height);
Common\ChartTypes\RadarChart.cs (28)
760 (int)markerSize.Height, 768 new RectangleF(dataPointPos[index].X, dataPointPos[index].Y, markerSize.Width, markerSize.Height), 789 (int)markerSize.Height, 829 new RectangleF(relativeMarkerPosition.X - relativeMarkerSize.Width/2f, relativeMarkerPosition.Y - relativeMarkerSize.Height/2f, relativeMarkerSize.Width, relativeMarkerSize.Height), 1075SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1076sizeLabel.Height += sizeLabel.Height / 2; 1152position.Y += sizeMarker.Height / 1.75F; 1153position.Y += sizeLabel.Height / 2F; 1157position.Y -= sizeMarker.Height / 1.75F; 1158position.Y -= sizeLabel.Height / 2F; 1163position.X -= sizeMarker.Height / 1.75F; 1167position.X -= sizeMarker.Height / 1.75F; 1168position.Y -= sizeMarker.Height / 1.75F; 1169position.Y -= sizeLabel.Height / 2F; 1173position.X -= sizeMarker.Height / 1.75F; 1174position.Y += sizeMarker.Height / 1.75F; 1175position.Y += sizeLabel.Height / 2F; 1179position.X += sizeMarker.Height / 1.75F; 1183position.X += sizeMarker.Height / 1.75F; 1184position.Y -= sizeMarker.Height / 1.75F; 1185position.Y -= sizeLabel.Height / 2F; 1189position.X += sizeMarker.Height / 1.75F; 1190position.Y += sizeMarker.Height / 1.75F; 1191position.Y += sizeLabel.Height / 2F; 1244sizeLabel.Height += sizeLabel.Height / 8; 1593 markerPosition.Y - markerSize.Height/2f, 1595 markerSize.Height);
Common\ChartTypes\StackedAreaChart.cs (10)
1042SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1043sizeLabel.Height += sizeFont.Height / 8; 1047labelPosition.Y - sizeLabel.Height / 2 - sizeFont.Height / 10, 1049sizeLabel.Height); 1524SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1525sizeLabel.Height += sizeFont.Height / 8; 1529points[0].PointF.Y - sizeLabel.Height / 2 - sizeFont.Height / 10, 1531sizeLabel.Height);
Common\ChartTypes\StackedBarChart.cs (12)
1180SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1181sizeLabel.Height += sizeFont.Height / 8; 1185labelPosition.Y - sizeLabel.Height / 2 - sizeFont.Height / 10, 1187sizeLabel.Height); 1973rotationCenter.Y = rectLabel.Top + size.Height / 2; 1977rotationCenter.Y = rectLabel.Bottom - size.Height / 2; 2084SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 2085sizeLabel.Height += sizeFont.Height / 8; 2089rotationCenter.Y - sizeLabel.Height / 2 - sizeFont.Height / 10, 2091sizeLabel.Height);
Common\ChartTypes\StackedColumnChart.cs (10)
1237SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1238sizeLabel.Height += sizeFont.Height / 8; 1242labelPosition.Y - sizeLabel.Height / 2 - sizeFont.Height / 10, 1244sizeLabel.Height); 1949SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1950sizeLabel.Height += sizeFont.Height / 8; 1954labelPosition.Y - sizeLabel.Height / 2 - sizeFont.Height / 10, 1956sizeLabel.Height);
Common\ChartTypes\StockChart.cs (18)
555 markerPosition.Y = (float)high - graph.GetRelativeSize(markerSize).Height/2f; 563 (int)markerSize.Height, 571 new RectangleF(markerPosition.X, markerPosition.Y, markerSize.Width, markerSize.Height)); 604 new RectangleF(markerPosition.X - relativeMarkerSize.Width/2f, markerPosition.Y - relativeMarkerSize.Height/2f, relativeMarkerSize.Width, relativeMarkerSize.Height), 669 float height = graph.GetRelativeSize(absSize).Height; 812 if( sizeOfHeight.Height > 1 ) 1059position.Y -= sizeFont.Height / 8; 1062SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1063sizeLabel.Height += sizeFont.Height / 8; 1382 markerPosition.Y = (float)high - graph.GetRelativeSize(markerSize).Height/2f; 1390 (int)markerSize.Height, 1398 new RectangleF(markerPosition.X, markerPosition.Y, markerSize.Width, markerSize.Height)); 1431 new RectangleF(markerPosition.X - relativeMarkerSize.Width/2f, markerPosition.Y - relativeMarkerSize.Height/2f, relativeMarkerSize.Width, relativeMarkerSize.Height), 1494 float height = graph.GetRelativeSize(absSize).Height; 1917 markerPosition.Y - markerSize.Height, 1919 markerSize.Height);
Common\DataManager\DataSeries.cs (4)
666 pointDepth = relativeSize.Height; 696 pointGapDepth = relativeSize.Height; 734 pixelPointWidth = pointSize.Height; 824 pointWidth = pointRelativeSize.Height;
Common\General\Axis.cs (64)
1826_titlePosition.Height = axisTitleSize.Height; 1845axisTitleSize = graph.GetRelativeSize(new SizeF(axisTitleSize.Height, axisTitleSize.Width)); 1848 _titlePosition.Height = axisTitleSize.Height; 1869_titlePosition.Height = axisTitleSize.Height; 1888axisTitleSize = graph.GetRelativeSize(new SizeF(axisTitleSize.Height, axisTitleSize.Width)); 1891 _titlePosition.Height = axisTitleSize.Height; 2251float tempValue = axisTitleSize.Height; 2289rotationCenter.Y = ChartArea.PlotAreaPosition.Bottom - axisTitleSize.Height / 2f; 2293rotationCenter.Y = ChartArea.PlotAreaPosition.Y + axisTitleSize.Height / 2f; 2301rotationCenter.Y = ChartArea.PlotAreaPosition.Bottom - axisTitleSize.Height / 2f; 2305rotationCenter.Y = ChartArea.PlotAreaPosition.Y + axisTitleSize.Height / 2f; 2672rect.Inflate(2, size.Height); 3408this.titleSize = Math.Min(titleStringSize.Height, maxTitlesize); 3415 titleStringSize = chartGraph.GetRelativeSize(new SizeF(titleStringSize.Height, titleStringSize.Width)); 3423this.titleSize = Math.Min(titleStringSize.Height, maxTitlesize); 3483arrowSize = Math.Max(arrowSizePrimary.Height, arrowSizeSecondary.Height); 3541this.markSize += borderSize.Height / 2f; 3583this.markSize += areaWallSize.Height; 4870textSize.Width = textSize.Height; 4910outsidePoint.Y -= textSize.Height; 4951labelPosition[0].Y - textSize.Height / 2f, 4953textSize.Height); 4957curLabelPosition.Y = labelPosition[0].Y - textSize.Height; 5324axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5334axisLabelSize.Height += spacerSize.Height; 5340groupingLabelSizes[groupLevelIndex - 1] = (float)Math.Max(groupingLabelSizes[groupLevelIndex - 1], axisLabelSize.Height); 5344axisLabelSize.Width = chartGraph.GetAbsoluteSize(new SizeF(axisLabelSize.Height, axisLabelSize.Height)).Height; 5355if (Math.Round(axisLabelSize.Height) >= Math.Round(rect.Height) && 5473axisLabelSize.Height == 0f)) 5496axisLabelSize.Height += imageRelSize.Height; 5502axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5513axisLabelSize.Height += spacerSize.Height; 5519float height = axisLabelSize.Height; 5527width = (float)Math.Cos((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height; 5530height = (float)Math.Sin((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height; 5536width += (float)Math.Sin((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height; 5539height += (float)Math.Cos((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height; 5708if (axisLabelSize.Width == 0f || axisLabelSize.Height == 0f) 5731axisLabelSize.Height += imageRelSize.Height; 5737axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5748axisLabelSize.Height += spacerSize.Height; 5754float height = axisLabelSize.Height; 5758width += (float)Math.Cos((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height; 5760height = (float)Math.Sin((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height; 5767axisLabelSize.Height = (float)Math.Ceiling(axisLabelSize.Height) * 1.05f; 5775resultSize = Math.Max(resultSize, axisLabelSize.Height); 5776resultRotatedSize = Math.Max(resultRotatedSize, axisLabelSize.Height); 5785resultSize = Math.Max(resultSize, axisLabelSize.Height); 5808labelNearOffset = (float)Math.Min(labelNearOffset, (fromPosition + toPosition) / 2f - axisLabelSize.Height / 2f); 5809labelFarOffset = (float)Math.Max(labelFarOffset, (fromPosition + toPosition) / 2f + axisLabelSize.Height / 2f); 5940axisLabelSize.Height = (float)Math.Ceiling(axisLabelSize.Height); 5952 axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5962 axisLabelSize.Height += spacerSize.Height; 5970resultSize[groupLevelIndex - 1] = Math.Max(resultSize[groupLevelIndex - 1], axisLabelSize.Height); 5975axisLabelSize.Width = chartGraph.GetAbsoluteSize(new SizeF(axisLabelSize.Height, axisLabelSize.Height)).Height;
Common\General\ChartArea.cs (10)
1564 plottingRect.Height -= areaWallSize.Height; 1568 plottingRect.Y += areaWallSize.Height; 1569 plottingRect.Height -= areaWallSize.Height; 2643 this.AxisX.labelSize = relativeLabelSize.Height; 2644 this.AxisX2.labelSize = relativeLabelSize.Height; 2667 areaDiff.Height -= titleSize.Height; 2693 textSize.Height = (float)Math.Ceiling(textSize.Height * 1.1f); 2703 textSize.Height); 2717 height -= areaDiff.Height; 2753 Math.Max(width, textSize.Height));
Common\General\ChartArea3D.cs (5)
709 position.Height += areaSceneWallWidth.Height; 770 wallRect2D.Height = areaSceneWallWidth.Height; 771 wallRect2D.Y = position.Bottom - areaSceneWallWidth.Height; 2093 interval.Height = interval.Height * 100F / ((float)(this.Common.Chart.Height.Value - 1)); 2128 Math.Abs(points[1].Y - points[0].Y) >= interval.Height)
Common\General\ChartGraphics.cs (29)
719imageScaleRect.Height = size.Height; 1719new PointF(absCenter.X - size.Width / 2f, absCenter.Y - size.Height / 2f), 1720new PointF(absCenter.X + size.Width / 2f, absCenter.Y - size.Height / 2f), 1721new PointF(absCenter.X + size.Width / 2f, absCenter.Y + size.Height / 2f), 1722new PointF(absCenter.X - size.Width / 2f, absCenter.Y + size.Height / 2f)}; 1987labelRect.Height = labelSize.Height; 2003labelRect.Y = absPosition.Bottom - labelSize.Height; 2011labelRect.Y = absPosition.Y + absPosition.Height / 2F - labelSize.Height / 2F; 2160SizeF labelSizeWithImage = new SizeF(labelSize.Width, labelSize.Height); 2189if (size.Height < absPosition.Height) 2209if (size.Height > absPosition.Height) 2211float delta = size.Height - absPosition.Height; 2291absPosition.Y + (absPosition.Height - imageAbsSize.Height) / 2, 2293imageAbsSize.Height); 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; 2681 return new Size( (int)Math.Ceiling(size.Width), (int)Math.Ceiling(size.Height)); 2697 return new Size( (int)Math.Ceiling(size.Width), (int)Math.Ceiling(size.Height)); 3548imageRect.Height = Math.Min(fillRect.Height, imageAbsSize.Height); 3598(backImageWrapMode == ChartImageWrapMode.Unscaled) ? imageRect.Height * image.Height / imageAbsSize.Height : image.Height, 4229imageRect.Height = imageAbsSize.Height; 4525imageRect.Height = imageSize.Height; 4702 relative.Height = size.Height * 100F / ((float)(_height - 1)); 4770 absolute.Height = size.Height * (_height - 1) / 100F; 5413 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Height; 5442 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Height;
Common\General\ChartGraphics3D.cs (12)
3109 gradientPoints[4] = new Point3D( position.X + position.Width / 2f, position.Top + sizeRel.Height, positionZ + depth ); 3110 gradientPoints[5] = new Point3D( position.X + position.Width / 2f, position.Bottom - sizeRel.Height, positionZ + depth ); 3246 gradientRect.Inflate(-shadowSizeRel.Width, -shadowSizeRel.Height); 3302 gradientRect.Inflate(-shadowSizeRel.Width, -shadowSizeRel.Height); 3375 gradientPoints[3] = new Point3D( position.Right - shadowSizeRel.Width, position.Top + shadowSizeRel.Height, positionZ + depth ); 3376 gradientPoints[4] = new Point3D( position.Left + shadowSizeRel.Width, position.Top + shadowSizeRel.Height, positionZ + depth ); 3377 gradientPoints[5] = new Point3D( position.Left + shadowSizeRel.Width, position.Bottom - shadowSizeRel.Height, positionZ + depth ); 3406 gradientPoints[3] = new Point3D( position.Left + shadowSizeRel.Width, position.Bottom - shadowSizeRel.Height, positionZ + depth ); 3407 gradientPoints[4] = new Point3D( position.Right - shadowSizeRel.Width, position.Bottom - shadowSizeRel.Height, positionZ + depth ); 3408 gradientPoints[5] = new Point3D( position.Right - shadowSizeRel.Width, position.Top + shadowSizeRel.Height, positionZ + depth ); 3633rectNonRotated.Y = point.Y - ((float)markerRelativeSize.Height) / 2F; 3635rectNonRotated.Height = markerRelativeSize.Height;
Common\General\GridTickMarks.cs (2)
829 point2.Y += area.areaSceneWallWidth.Height; 846 point1.Y -= area.areaSceneWallWidth.Height;
Common\General\Label.cs (5)
1325 labelPosition.Height = size.Height; 1342 labelPosition.Y = position.Y - size.Height; 1350 labelPosition.Y = position.Y - size.Height/2F; 2279if (rect.Height < pixelSize.Height) 2281rect.Height = pixelSize.Height;
Common\General\Legend.cs (11)
888 Size maxSize = new Size((int)maxSizeAbs.Width, (int)maxSizeAbs.Height); 1098maxSize.Height = (maxSize.Height / 100F) * this._maximumLegendAutoSize; 1106 if(maxSize.Width <= 0 || maxSize.Height <= 0) 1112 legendPosition.Height = legendSize.Height; 1114 if(float.IsNaN(legendSize.Height) || float.IsNaN(legendSize.Width)) 1142 legendPosition.Y = chartAreasRectangle.Bottom - legendSize.Height - elementSpacing; 1168 legendPosition.Y = chartAreasRectangle.Bottom - legendSize.Height - elementSpacing; 1172 legendPosition.Y = chartAreasRectangle.Y + (chartAreasRectangle.Height - legendSize.Height) / 2F; 1188 legendPosition.Y = chartAreasRectangle.Bottom - legendSize.Height - elementSpacing; 1192 legendPosition.Y = chartAreasRectangle.Y + (chartAreasRectangle.Height - legendSize.Height) / 2F; 4707 if(legendPixelSize.Width < legendPixelSize.Height)
Common\General\LegendColumns.cs (7)
1513cellSize.Height = (int)imageSize.Height; 2049if (charSize.Height > this.cellPosition.Height && (format.FormatFlags & StringFormatFlags.LineLimit) != 0) 2054else if (charSize.Height < this.cellPosition.Height && (format.FormatFlags & StringFormatFlags.LineLimit) == 0) 2100imagePosition.Height = (int)imageSize.Height; 2235 int newHeight = (int)(this.SeriesSymbolSize.Height * singleWCharacterSize.Height / 100f); 2297imageScale.Height = (int)imageSize.Height; 2438imageScale.Height = (int)imageSize.Height;
Common\General\Selection.cs (2)
3089rect1.Inflate(2, size.Height); 3177rect.Inflate(relSize.Width, relSize.Height);
Common\General\SmartLabels.cs (23)
816 markerSize.Height + labelMovement*(pixelSize.Height * 2f)); 1415 labelPosition.Height = size.Height; 1453 labelPosition.Y = position.Y - size.Height; 1461 labelPosition.Y = position.Y - size.Height/2F; 1495 position.Y += sizeMarker.Height / 1.75F; 1496 position.Y += sizeFont.Height/ 2F; 1500 position.Y -= sizeMarker.Height / 1.75F; 1501 position.Y -= sizeFont.Height/ 2F; 1505 position.X -= sizeMarker.Height / 1.75F; 1509 position.X -= sizeMarker.Height / 1.75F; 1510 position.Y -= sizeMarker.Height / 1.75F; 1511 position.Y -= sizeFont.Height/ 2F; 1515 position.X -= sizeMarker.Height / 1.75F; 1516 position.Y += sizeMarker.Height / 1.75F; 1517 position.Y += sizeFont.Height/ 2F; 1520 position.X += sizeMarker.Height / 1.75F; 1523 position.X += sizeMarker.Height / 1.75F; 1524 position.Y -= sizeMarker.Height / 1.75F; 1525 position.Y -= sizeFont.Height/ 2F; 1528 position.X += sizeMarker.Height / 1.75F; 1529 position.Y += sizeMarker.Height / 1.75F; 1530 position.Y += sizeFont.Height/ 2F;
Common\General\StripLine.cs (8)
486 lineRect.Y = point1.Y - relBorderWidth.Height / 2f; 488 lineRect.Height = relBorderWidth.Height; 706textSizeProjection[2] = new Point3D(0f, size.Height, zPositon); 714size.Height *= size.Height / (textSizeProjection[2].Y - textSizeProjection[0].Y); 738rotationCenter.Y = rect.Top + size.Height / 2 + sizeBorder.Height; 742rotationCenter.Y = rect.Bottom - size.Height / 2 - sizeBorder.Height;
Common\General\Title.cs (9)
1375layoutArea.Width = layoutArea.Height; 1399titleSize.Width = titleSize.Height; 1425 titlePosition.Height = titleSize.Height; 1489 titleSize.Height); 1863layoutArea.Width = layoutArea.Height; 1889titleSize.Width = titleSize.Height; 1895 titlePosition.Height = titleSize.Height; 1897 if(float.IsNaN(titleSize.Height) || float.IsNaN(titleSize.Width)) 1919 titlePosition.Y = chartAreasRectangle.Bottom - titleSize.Height - elementSpacing;
System.Web.Mobile (1)
UI\MobileControls\Design\Util\ImageCreator.cs (1)
40return (int) (size.Height + 1);
System.Windows.Forms (22)
winforms\Managed\System\WinForms\ComboBox.cs (1)
2149if (factor.Width != 1F && factor.Height != 1F) {
winforms\Managed\System\WinForms\ContainerControl.cs (3)
92if (value.Width < 0 || value.Height < 0) { 120return new SizeF(current.Width / saved.Width, current.Height / saved.Height);
winforms\Managed\System\WinForms\Control.cs (4)
6592float dy = factor.Height; 11500float dy = factor.Height; 11540factor.Height) + adornmentSize; 11546factor.Height) + adornmentSize;
winforms\Managed\System\WinForms\Form.cs (2)
613return new Size((int)Math.Round(real.Width), (int)Math.Round(real.Height)); 3372Size newVar = new Size((int)Math.Round(newVarF.Width), (int)Math.Round(newVarF.Height));
winforms\Managed\System\WinForms\GroupBox.cs (1)
737if (factor.Width != 1F && factor.Height != 1F) {
winforms\Managed\System\WinForms\Layout\DockAndAnchorLayout.cs (2)
706anchorInfo.Top = (int)((float)anchorInfo.Top * factor.Height); 708anchorInfo.Bottom = (int)((float)anchorInfo.Bottom * factor.Height);
winforms\Managed\System\WinForms\ListBox.cs (1)
2056if (factor.Width != 1F && factor.Height != 1F) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (1)
6015linkHeight = (int)sizef.Height;
winforms\Managed\System\WinForms\ScrollableControl.cs (1)
814ScaleDockPadding(factor.Width, factor.Height);
winforms\Managed\System\WinForms\SplitContainer.cs (1)
1894scale = factor.Height;
winforms\Managed\System\WinForms\TableLayoutPanel.cs (2)
544rs.Height = (float)Math.Round(lastRowHeight * factor.Height); 547rs.Height = (float)Math.Round(rs.Height * factor.Height);
winforms\Managed\System\WinForms\ToolBar.cs (1)
842currentScaleDY = factor.Height;
winforms\Managed\System\WinForms\ToolStripDropDown.cs (2)
1735MinimumSize = ScaleSize(minSize, factor.Width, factor.Height); 1738MaximumSize = ScaleSize(maxSize, factor.Width, factor.Height);
System.Windows.Forms.DataVisualization (471)
Common\Annotation\AnnotationBase.cs (22)
2065 rect.Y - markerSizeRel.Height/2f, 2067 markerSizeRel.Height); 2070 rect.Bottom - markerSizeRel.Height/2f, 2072 markerSizeRel.Height); 2139 handlePosition.Y - markerSizeRel.Height/2f, 2141 markerSizeRel.Height); 2231 (float)anchorY - markerSizeRel.Height/2f, 2233 markerSizeRel.Height); 2466 groupScaleY = groupSize.Height / 100.0; 3167 firstPoint.Y -= movingDistance.Height; 3169 size.Height += movingDistance.Height; 3173 firstPoint.Y -= movingDistance.Height; 3174 size.Height += movingDistance.Height; 3178 firstPoint.Y -= movingDistance.Height; 3180 size.Height += movingDistance.Height; 3189 size.Height -= movingDistance.Height; 3193 size.Height -= movingDistance.Height; 3199 size.Height -= movingDistance.Height; 3209 anchorPoint.Y -= movingDistance.Height; 3214 firstPoint.Y -= movingDistance.Height; 3542 (float)anchorY - markerSizeRel.Height/2f, 3544 markerSizeRel.Height);
Common\Annotation\ArrowAnnotation.cs (1)
314 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\CalloutAnnotation.cs (5)
651 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 1177 dyAbs -= size.Height; 1179 dyAbs += size.Height; 1190 ellipseLocation.Y - ellipseSize.Height / 2f, 1192 ellipseSize.Height);
Common\Annotation\GroupAnnotation.cs (1)
921 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\ImageAnnotation.cs (2)
525 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 711return new RectangleF(float.NaN, float.NaN, imageSize.Width, imageSize.Height);
Common\Annotation\LineAnnotation.cs (1)
569 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\PolygonAnnotation.cs (2)
566 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 899 pathPoints[pointIndex].Y -= movingDistance.Height;
Common\Annotation\RectangleAnnotation.cs (2)
389 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 627 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height);
Common\Annotation\TextAnnotation.cs (7)
419 PointF secondPoint = new PointF(firstPoint.X + size.Width, firstPoint.Y + size.Height); 658textActualPosition.Y += textPositionWithSpacing.Height - textSize.Height; 664textActualPosition.Y += (textPositionWithSpacing.Height - textSize.Height) / 2f; 926 return new RectangleF(float.NaN, float.NaN, contentSize.Width, contentSize.Height); 973 if(contentSize.Height > 25f) 975 spacingScaleY = contentSize.Height / 25f; 983 result = new RectangleF(float.NaN, float.NaN, contentSize.Width, contentSize.Height);
Common\Borders3D\EmbedBorder.cs (14)
347 this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 363this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 386 this.sizeLeftTop = new SizeF(0, sizeLeftTop.Height); 387 this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 404this.sizeLeftTop = new SizeF(0, sizeLeftTop.Height); 405this.sizeRightBottom = new SizeF(0, sizeRightBottom.Height); 684 rect.Y += sizeLeftTop.Height; 686 rect.Height -= sizeRightBottom.Height + sizeLeftTop.Height; 854 if(relSizeLeftTop.Height > 30f) 858 if(relSizeRightBottom.Height > 30f) 864 areasRect.Y += relSizeLeftTop.Height; 865 areasRect.Height -= (float)Math.Min(areasRect.Height, relSizeLeftTop.Height + relSizeRightBottom.Height);
Common\Borders3D\EmbossBorder.cs (3)
123 if(borderSize.Height < 30f) 125 areasRect.Y += borderSize.Height; 126 areasRect.Height -= (float)Math.Min(areasRect.Height, borderSize.Height * 2.5f);
Common\ChartTypes\BarChart.cs (15)
721pixelSize = (int)Math.Max(size.Width, size.Height); 1032valueTextSize.Height += valueTextSize.Height / 8; 1037rectLabel.Y + (rectLabel.Height - valueTextSize.Height) / 2, 1039valueTextSize.Height); 1062if (textSize.Height > rectLabel.Height) 1064rectLabel.Y -= (textSize.Height - rectLabel.Height) / 2f; 1065rectLabel.Height = textSize.Height; 1123 new RectangleF(markerPosition.X - relativeMarkerSize.Width/2f, markerPosition.Y - relativeMarkerSize.Height/2f, relativeMarkerSize.Width, relativeMarkerSize.Height), 2060rotationCenter.Y = rectLabel.Top + size.Height / 2; 2064rotationCenter.Y = rectLabel.Bottom - size.Height / 2; 2114SizeF sizeLabel = new SizeF(size.Width, size.Height); 2115sizeLabel.Height += sizeLabel.Height / 8; 2119rotationCenter.Y - sizeLabel.Height / 2, 2121sizeLabel.Height);
Common\ChartTypes\BoxPlotChart.cs (5)
649 high -= relMarkerSize.Height / 2f; 823 new RectangleF(xPosition, yPosition, markerSize.Width, markerSize.Height)); 916position.Y -= markerSizes.Height / 2f; 966SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 967sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\BubbleChart.cs (2)
304 _maxBubleSize = (float)(Math.Min(areaSize.Width, areaSize.Height) / (100.0/_maxPossibleBubbleSize)); 305 _minBubleSize = (float)(Math.Min(areaSize.Width, areaSize.Height) / (100.0/_minPossibleBubbleSize));
Common\ChartTypes\ColumnChart.cs (16)
452 (columnStartPosition - height) < pixelRelSize.Height) 454 height = columnStartPosition - pixelRelSize.Height; 457 (height - columnStartPosition) < pixelRelSize.Height) 459 height = columnStartPosition + pixelRelSize.Height; 780 (columnStartPosition - height) < pixelRelSize.Height) 782 height = columnStartPosition - pixelRelSize.Height; 785 (height - columnStartPosition) < pixelRelSize.Height) 787 height = columnStartPosition + pixelRelSize.Height; 1144 (int)markerSize.Height, 1152 new RectangleF(markerPosition.X, markerPosition.Y, markerSize.Width, markerSize.Height)); 1191 new RectangleF(markerPosition.X - relativeMarkerSize.Width/2f, markerPosition.Y - relativeMarkerSize.Height/2f, relativeMarkerSize.Width, relativeMarkerSize.Height), 1250SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1252sizeLabel.Height += sizeFont.Height / 8; 1372SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1374sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\ErrorBarChart.cs (4)
880 new RectangleF(xPosition, yPosition, markerSize.Width, markerSize.Height)); 973position.Y -= markerSizes.Height / 2f; 1023SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1024sizeLabel.Height += sizeFont.Height / 8;
Common\ChartTypes\FastPointChart.cs (3)
310 double axesValuesPixelSizeY = Math.Abs(vAxis.PositionToValue(axesMin.Height + pixelSize.Height, false) - vAxis.PositionToValue(axesMin.Height, false));
Common\ChartTypes\FunnelChart.cs (23)
589 plotAreaPositionAbs.Bottom - this._funnelNeckSize.Height ); 598 plotAreaPositionAbs.Bottom - this._funnelNeckSize.Height ); 1057 intersection.Y = plotAreaPositionAbs.Bottom - this._funnelNeckSize.Height; 1131 intersection.Y = plotAreaPositionAbs.Bottom - this._funnelNeckSize.Height; 1563 labelBackPosition.Inflate(spacing.Width / 2f, spacing.Height / 8f); 1816 labelInfo.Position.Height = labelInfo.Size.Height; 1851 labelInfo.Size.Height / 2f; 1935 labelInfo.Size.Height / 2f; 1953 labelInfo.Size.Height / 2f; 2003 labelInfo.Size.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; 2414if (!parseSucceed || neckSize.Height < 0 || neckSize.Height > 100) 2421 if(neckSize.Height > this.PlotAreaPosition.Height/2f) 2472gapSize = this.Graph.GetAbsoluteSize(new SizeF(gapSize, gapSize)).Height;
Common\ChartTypes\PieChart.cs (34)
793 float absRadius = ( absoluteSize.Width < absoluteSize.Height ) ? absoluteSize.Width : absoluteSize.Height; 802 rectangle = new RectangleF( middlePoint.X - relativeSize.Width / 2, middlePoint.Y - relativeSize.Height / 2, relativeSize.Width, relativeSize.Height ); 1233 height = relativeSize.Height * expShift / positionRatio * ( 1 + ( 100 - doughnutRadius ) / 100F ); 1238 height = relativeSize.Height * expShift / positionRatio; 1260SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1261sizeLabel.Height += sizeLabel.Height / 8; 1310 float y1 = (float)Math.Sin( (midAngle) * Math.PI / 180 ) * relativeSize.Height * expShift / 2 + middlePoint.Y; 1313 float y2 = (float)Math.Sin( (midAngle) * Math.PI / 180 ) * relativeSize.Height * shift * expShift + middlePoint.Y; 1333float y3 = (float)Math.Sin((midAngle) * Math.PI / 180) * relativeSize.Height * shift * expShift + middlePoint.Y; 1402valueTextSize.Height += valueTextSize.Height / 8; 1407rect.Y + rect.Height / 2f - valueTextSize.Height / 2f, 1409valueTextSize.Height); 1502 labelRect.Y = labelPosition.Y - size.Height / 2 * 1.8f; 1503 labelRect.Height = size.Height * 1.8f; 1715 float y3 = (float)Math.Sin( (midAngle) * Math.PI / 180 ) * relativeSize.Height * shift * expShift + middlePoint.Y; 1783 if( y3 - size.Height/2 < area.PlotAreaPosition.ToRectangleF().Top ) 1788 if( y3 + size.Height/2 > area.PlotAreaPosition.ToRectangleF().Bottom ) 2556 float absRadius = ( absoluteSize.Width < absoluteSize.Height ) ? absoluteSize.Width : absoluteSize.Height; 2565 rectangle = new RectangleF( middlePoint.X - relativeSize.Width / 2, middlePoint.Y - relativeSize.Height / 2, relativeSize.Width, relativeSize.Height ); 5322 maxSizeVertical = Math.Max( size.Height, maxSizeVertical ); 5456float labelVertSize = graph.GetAbsoluteSize(new SizeF(0f, this.labelColumnRight.columnHeight)).Height; 5476float labelVertSize = graph.GetAbsoluteSize(new SizeF(0f, this.labelColumnLeft.columnHeight)).Height; 5500valueTextSize.Height += valueTextSize.Height / 8; 5505labelPosition.Y + labelPosition.Height / 2f - valueTextSize.Height / 2f, 5507valueTextSize.Height); 5576 SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 5577 sizeLabel.Height += sizeFont.Height / 8; 5581 labelPosition.Y - sizeLabel.Height/2 - sizeFont.Height / 10, 5583 sizeLabel.Height);
Common\ChartTypes\PointAndFigureChart.cs (2)
762 if(markSize.Width > markSize.Height) 764 pointCount = (int)(pointAndFigureSeries.Points.Count * (markSize.Width / markSize.Height));
Common\ChartTypes\PointChart.cs (40)
485 (int)markerSize.Height, 493 new RectangleF(markerPosition.X, markerPosition.Y, markerSize.Width, markerSize.Height)); 530 (int)markerSize.Height, 635 new RectangleF(markerPosition.X - relativeMarkerSize.Width/2f, markerPosition.Y - relativeMarkerSize.Height/2f, relativeMarkerSize.Width, relativeMarkerSize.Height), 707SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 709sizeLabel.Height += sizeSingleCharacter.Height / 2; 785position.Y += sizeMarker.Height / 1.75F; 786position.Y += sizeLabel.Height / 2F; 790position.Y -= sizeMarker.Height / 1.75F; 791position.Y -= sizeLabel.Height / 2F; 795position.X -= sizeMarker.Height / 1.75F + horizontalSpacing / 2f; 799position.X -= sizeMarker.Height / 1.75F + horizontalSpacing / 2f; 800position.Y -= sizeMarker.Height / 1.75F; 801position.Y -= sizeLabel.Height / 2F; 805position.X -= sizeMarker.Height / 1.75F + horizontalSpacing / 2f; 806position.Y += sizeMarker.Height / 1.75F; 807position.Y += sizeLabel.Height / 2F; 811position.X += sizeMarker.Height / 1.75F + horizontalSpacing / 2f; 815position.X += sizeMarker.Height / 1.75F + horizontalSpacing / 2f; 816position.Y -= sizeMarker.Height / 1.75F; 817position.Y -= sizeLabel.Height / 2F; 821position.X += sizeMarker.Height / 1.75F + horizontalSpacing / 2f; 822position.Y += sizeMarker.Height / 1.75F; 823position.Y += sizeLabel.Height / 2F; 865position.Y += sizeLabel.Height / 2F; 869position.Y -= sizeLabel.Height / 2F; 897sizeLabel.Height -= sizeFont.Height / 2; 898sizeLabel.Height += sizeFont.Height / 8; 975 labelPosition.Height = size.Height; 1013 labelPosition.Y = position.Y - size.Height; 1021 labelPosition.Y = position.Y - size.Height/2F; 1024 labelPosition.Y -= 1f * pixelSize.Height; 1227 (int)markerSize.Height, 1235 new RectangleF(markerRotatedPosition.X, markerRotatedPosition.Y, markerSize.Width, markerSize.Height), 1316 new RectangleF(markerRotatedPosition.X - relativeMarkerSize.Width/2f, markerRotatedPosition.Y - relativeMarkerSize.Height/2f, relativeMarkerSize.Width, relativeMarkerSize.Height), 1350 (int)labelInfo.MarkerSize.Height, 1768 markerPosition.Y - markerSize.Height / 2f, 1770 markerSize.Height);
Common\ChartTypes\RadarChart.cs (28)
760 (int)markerSize.Height, 768 new RectangleF(dataPointPos[index].X, dataPointPos[index].Y, markerSize.Width, markerSize.Height), 789 (int)markerSize.Height, 829 new RectangleF(relativeMarkerPosition.X - relativeMarkerSize.Width/2f, relativeMarkerPosition.Y - relativeMarkerSize.Height/2f, relativeMarkerSize.Width, relativeMarkerSize.Height), 1075SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1076sizeLabel.Height += sizeLabel.Height / 2; 1152position.Y += sizeMarker.Height / 1.75F; 1153position.Y += sizeLabel.Height / 2F; 1157position.Y -= sizeMarker.Height / 1.75F; 1158position.Y -= sizeLabel.Height / 2F; 1163position.X -= sizeMarker.Height / 1.75F; 1167position.X -= sizeMarker.Height / 1.75F; 1168position.Y -= sizeMarker.Height / 1.75F; 1169position.Y -= sizeLabel.Height / 2F; 1173position.X -= sizeMarker.Height / 1.75F; 1174position.Y += sizeMarker.Height / 1.75F; 1175position.Y += sizeLabel.Height / 2F; 1179position.X += sizeMarker.Height / 1.75F; 1183position.X += sizeMarker.Height / 1.75F; 1184position.Y -= sizeMarker.Height / 1.75F; 1185position.Y -= sizeLabel.Height / 2F; 1189position.X += sizeMarker.Height / 1.75F; 1190position.Y += sizeMarker.Height / 1.75F; 1191position.Y += sizeLabel.Height / 2F; 1244sizeLabel.Height += sizeLabel.Height / 8; 1593 markerPosition.Y - markerSize.Height/2f, 1595 markerSize.Height);
Common\ChartTypes\StackedAreaChart.cs (10)
1042SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1043sizeLabel.Height += sizeFont.Height / 8; 1047labelPosition.Y - sizeLabel.Height / 2 - sizeFont.Height / 10, 1049sizeLabel.Height); 1524SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1525sizeLabel.Height += sizeFont.Height / 8; 1529points[0].PointF.Y - sizeLabel.Height / 2 - sizeFont.Height / 10, 1531sizeLabel.Height);
Common\ChartTypes\StackedBarChart.cs (12)
1180SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1181sizeLabel.Height += sizeFont.Height / 8; 1185labelPosition.Y - sizeLabel.Height / 2 - sizeFont.Height / 10, 1187sizeLabel.Height); 1973rotationCenter.Y = rectLabel.Top + size.Height / 2; 1977rotationCenter.Y = rectLabel.Bottom - size.Height / 2; 2084SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 2085sizeLabel.Height += sizeFont.Height / 8; 2089rotationCenter.Y - sizeLabel.Height / 2 - sizeFont.Height / 10, 2091sizeLabel.Height);
Common\ChartTypes\StackedColumnChart.cs (10)
1237SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1238sizeLabel.Height += sizeFont.Height / 8; 1242labelPosition.Y - sizeLabel.Height / 2 - sizeFont.Height / 10, 1244sizeLabel.Height); 1949SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1950sizeLabel.Height += sizeFont.Height / 8; 1954labelPosition.Y - sizeLabel.Height / 2 - sizeFont.Height / 10, 1956sizeLabel.Height);
Common\ChartTypes\StockChart.cs (18)
555 markerPosition.Y = (float)high - graph.GetRelativeSize(markerSize).Height/2f; 563 (int)markerSize.Height, 571 new RectangleF(markerPosition.X, markerPosition.Y, markerSize.Width, markerSize.Height)); 604 new RectangleF(markerPosition.X - relativeMarkerSize.Width/2f, markerPosition.Y - relativeMarkerSize.Height/2f, relativeMarkerSize.Width, relativeMarkerSize.Height), 669 float height = graph.GetRelativeSize(absSize).Height; 812 if( sizeOfHeight.Height > 1 ) 1059position.Y -= sizeFont.Height / 8; 1062SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height); 1063sizeLabel.Height += sizeFont.Height / 8; 1382 markerPosition.Y = (float)high - graph.GetRelativeSize(markerSize).Height/2f; 1390 (int)markerSize.Height, 1398 new RectangleF(markerPosition.X, markerPosition.Y, markerSize.Width, markerSize.Height)); 1431 new RectangleF(markerPosition.X - relativeMarkerSize.Width/2f, markerPosition.Y - relativeMarkerSize.Height/2f, relativeMarkerSize.Width, relativeMarkerSize.Height), 1494 float height = graph.GetRelativeSize(absSize).Height; 1917 markerPosition.Y - markerSize.Height, 1919 markerSize.Height);
Common\DataManager\DataSeries.cs (4)
666 pointDepth = relativeSize.Height; 696 pointGapDepth = relativeSize.Height; 734 pixelPointWidth = pointSize.Height; 824 pointWidth = pointRelativeSize.Height;
Common\General\Axis.cs (64)
1826_titlePosition.Height = axisTitleSize.Height; 1845axisTitleSize = graph.GetRelativeSize(new SizeF(axisTitleSize.Height, axisTitleSize.Width)); 1848 _titlePosition.Height = axisTitleSize.Height; 1869_titlePosition.Height = axisTitleSize.Height; 1888axisTitleSize = graph.GetRelativeSize(new SizeF(axisTitleSize.Height, axisTitleSize.Width)); 1891 _titlePosition.Height = axisTitleSize.Height; 2251float tempValue = axisTitleSize.Height; 2289rotationCenter.Y = ChartArea.PlotAreaPosition.Bottom - axisTitleSize.Height / 2f; 2293rotationCenter.Y = ChartArea.PlotAreaPosition.Y + axisTitleSize.Height / 2f; 2301rotationCenter.Y = ChartArea.PlotAreaPosition.Bottom - axisTitleSize.Height / 2f; 2305rotationCenter.Y = ChartArea.PlotAreaPosition.Y + axisTitleSize.Height / 2f; 2672rect.Inflate(2, size.Height); 3408this.titleSize = Math.Min(titleStringSize.Height, maxTitlesize); 3415 titleStringSize = chartGraph.GetRelativeSize(new SizeF(titleStringSize.Height, titleStringSize.Width)); 3423this.titleSize = Math.Min(titleStringSize.Height, maxTitlesize); 3483arrowSize = Math.Max(arrowSizePrimary.Height, arrowSizeSecondary.Height); 3541this.markSize += borderSize.Height / 2f; 3583this.markSize += areaWallSize.Height; 4870textSize.Width = textSize.Height; 4910outsidePoint.Y -= textSize.Height; 4951labelPosition[0].Y - textSize.Height / 2f, 4953textSize.Height); 4957curLabelPosition.Y = labelPosition[0].Y - textSize.Height; 5324axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5334axisLabelSize.Height += spacerSize.Height; 5340groupingLabelSizes[groupLevelIndex - 1] = (float)Math.Max(groupingLabelSizes[groupLevelIndex - 1], axisLabelSize.Height); 5344axisLabelSize.Width = chartGraph.GetAbsoluteSize(new SizeF(axisLabelSize.Height, axisLabelSize.Height)).Height; 5355if (Math.Round(axisLabelSize.Height) >= Math.Round(rect.Height) && 5473axisLabelSize.Height == 0f)) 5496axisLabelSize.Height += imageRelSize.Height; 5502axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5513axisLabelSize.Height += spacerSize.Height; 5519float height = axisLabelSize.Height; 5527width = (float)Math.Cos((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height; 5530height = (float)Math.Sin((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height; 5536width += (float)Math.Sin((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height; 5539height += (float)Math.Cos((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height; 5708if (axisLabelSize.Width == 0f || axisLabelSize.Height == 0f) 5731axisLabelSize.Height += imageRelSize.Height; 5737axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5748axisLabelSize.Height += spacerSize.Height; 5754float height = axisLabelSize.Height; 5758width += (float)Math.Cos((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height; 5760height = (float)Math.Sin((Math.Abs(angle)) / 180F * Math.PI) * axisLabelSize.Height; 5767axisLabelSize.Height = (float)Math.Ceiling(axisLabelSize.Height) * 1.05f; 5775resultSize = Math.Max(resultSize, axisLabelSize.Height); 5776resultRotatedSize = Math.Max(resultRotatedSize, axisLabelSize.Height); 5785resultSize = Math.Max(resultSize, axisLabelSize.Height); 5808labelNearOffset = (float)Math.Min(labelNearOffset, (fromPosition + toPosition) / 2f - axisLabelSize.Height / 2f); 5809labelFarOffset = (float)Math.Max(labelFarOffset, (fromPosition + toPosition) / 2f + axisLabelSize.Height / 2f); 5940axisLabelSize.Height = (float)Math.Ceiling(axisLabelSize.Height); 5952 axisLabelSize.Height = Math.Max(axisLabelSize.Height, imageRelSize.Height); 5962 axisLabelSize.Height += spacerSize.Height; 5970resultSize[groupLevelIndex - 1] = Math.Max(resultSize[groupLevelIndex - 1], axisLabelSize.Height); 5975axisLabelSize.Width = chartGraph.GetAbsoluteSize(new SizeF(axisLabelSize.Height, axisLabelSize.Height)).Height;
Common\General\ChartArea.cs (10)
1564 plottingRect.Height -= areaWallSize.Height; 1568 plottingRect.Y += areaWallSize.Height; 1569 plottingRect.Height -= areaWallSize.Height; 2643 this.AxisX.labelSize = relativeLabelSize.Height; 2644 this.AxisX2.labelSize = relativeLabelSize.Height; 2667 areaDiff.Height -= titleSize.Height; 2693 textSize.Height = (float)Math.Ceiling(textSize.Height * 1.1f); 2703 textSize.Height); 2717 height -= areaDiff.Height; 2753 Math.Max(width, textSize.Height));
Common\General\ChartArea3D.cs (5)
709 position.Height += areaSceneWallWidth.Height; 770 wallRect2D.Height = areaSceneWallWidth.Height; 771 wallRect2D.Y = position.Bottom - areaSceneWallWidth.Height; 2090 interval.Height = interval.Height * 100F / ((float)(this.Common.Chart.Height - 1)); 2128 Math.Abs(points[1].Y - points[0].Y) >= interval.Height)
Common\General\ChartGraphics.cs (29)
719imageScaleRect.Height = size.Height; 1719new PointF(absCenter.X - size.Width / 2f, absCenter.Y - size.Height / 2f), 1720new PointF(absCenter.X + size.Width / 2f, absCenter.Y - size.Height / 2f), 1721new PointF(absCenter.X + size.Width / 2f, absCenter.Y + size.Height / 2f), 1722new PointF(absCenter.X - size.Width / 2f, absCenter.Y + size.Height / 2f)}; 1987labelRect.Height = labelSize.Height; 2003labelRect.Y = absPosition.Bottom - labelSize.Height; 2011labelRect.Y = absPosition.Y + absPosition.Height / 2F - labelSize.Height / 2F; 2160SizeF labelSizeWithImage = new SizeF(labelSize.Width, labelSize.Height); 2189if (size.Height < absPosition.Height) 2209if (size.Height > absPosition.Height) 2211float delta = size.Height - absPosition.Height; 2291absPosition.Y + (absPosition.Height - imageAbsSize.Height) / 2, 2293imageAbsSize.Height); 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; 2681 return new Size( (int)Math.Ceiling(size.Width), (int)Math.Ceiling(size.Height)); 2697 return new Size( (int)Math.Ceiling(size.Width), (int)Math.Ceiling(size.Height)); 3548imageRect.Height = Math.Min(fillRect.Height, imageAbsSize.Height); 3598(backImageWrapMode == ChartImageWrapMode.Unscaled) ? imageRect.Height * image.Height / imageAbsSize.Height : image.Height, 4229imageRect.Height = imageAbsSize.Height; 4525imageRect.Height = imageSize.Height; 4702 relative.Height = size.Height * 100F / ((float)(_height - 1)); 4770 absolute.Height = size.Height * (_height - 1) / 100F; 5413 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Height; 5442 shift = GetAbsoluteSize( new SizeF((float)shift,(float)shift) ).Height;
Common\General\ChartGraphics3D.cs (12)
3109 gradientPoints[4] = new Point3D( position.X + position.Width / 2f, position.Top + sizeRel.Height, positionZ + depth ); 3110 gradientPoints[5] = new Point3D( position.X + position.Width / 2f, position.Bottom - sizeRel.Height, positionZ + depth ); 3246 gradientRect.Inflate(-shadowSizeRel.Width, -shadowSizeRel.Height); 3302 gradientRect.Inflate(-shadowSizeRel.Width, -shadowSizeRel.Height); 3375 gradientPoints[3] = new Point3D( position.Right - shadowSizeRel.Width, position.Top + shadowSizeRel.Height, positionZ + depth ); 3376 gradientPoints[4] = new Point3D( position.Left + shadowSizeRel.Width, position.Top + shadowSizeRel.Height, positionZ + depth ); 3377 gradientPoints[5] = new Point3D( position.Left + shadowSizeRel.Width, position.Bottom - shadowSizeRel.Height, positionZ + depth ); 3406 gradientPoints[3] = new Point3D( position.Left + shadowSizeRel.Width, position.Bottom - shadowSizeRel.Height, positionZ + depth ); 3407 gradientPoints[4] = new Point3D( position.Right - shadowSizeRel.Width, position.Bottom - shadowSizeRel.Height, positionZ + depth ); 3408 gradientPoints[5] = new Point3D( position.Right - shadowSizeRel.Width, position.Top + shadowSizeRel.Height, positionZ + depth ); 3633rectNonRotated.Y = point.Y - ((float)markerRelativeSize.Height) / 2F; 3635rectNonRotated.Height = markerRelativeSize.Height;
Common\General\Label.cs (5)
1325 labelPosition.Height = size.Height; 1342 labelPosition.Y = position.Y - size.Height; 1350 labelPosition.Y = position.Y - size.Height/2F; 2279if (rect.Height < pixelSize.Height) 2281rect.Height = pixelSize.Height;
Common\General\Legend.cs (11)
888 Size maxSize = new Size((int)maxSizeAbs.Width, (int)maxSizeAbs.Height); 1098maxSize.Height = (maxSize.Height / 100F) * this._maximumLegendAutoSize; 1106 if(maxSize.Width <= 0 || maxSize.Height <= 0) 1112 legendPosition.Height = legendSize.Height; 1114 if(float.IsNaN(legendSize.Height) || float.IsNaN(legendSize.Width)) 1142 legendPosition.Y = chartAreasRectangle.Bottom - legendSize.Height - elementSpacing; 1168 legendPosition.Y = chartAreasRectangle.Bottom - legendSize.Height - elementSpacing; 1172 legendPosition.Y = chartAreasRectangle.Y + (chartAreasRectangle.Height - legendSize.Height) / 2F; 1188 legendPosition.Y = chartAreasRectangle.Bottom - legendSize.Height - elementSpacing; 1192 legendPosition.Y = chartAreasRectangle.Y + (chartAreasRectangle.Height - legendSize.Height) / 2F; 4707 if(legendPixelSize.Width < legendPixelSize.Height)
Common\General\LegendColumns.cs (7)
1513cellSize.Height = (int)imageSize.Height; 2049if (charSize.Height > this.cellPosition.Height && (format.FormatFlags & StringFormatFlags.LineLimit) != 0) 2054else if (charSize.Height < this.cellPosition.Height && (format.FormatFlags & StringFormatFlags.LineLimit) == 0) 2100imagePosition.Height = (int)imageSize.Height; 2235 int newHeight = (int)(this.SeriesSymbolSize.Height * singleWCharacterSize.Height / 100f); 2297imageScale.Height = (int)imageSize.Height; 2438imageScale.Height = (int)imageSize.Height;
Common\General\Selection.cs (2)
3089rect1.Inflate(2, size.Height); 3177rect.Inflate(relSize.Width, relSize.Height);
Common\General\SmartLabels.cs (23)
816 markerSize.Height + labelMovement*(pixelSize.Height * 2f)); 1415 labelPosition.Height = size.Height; 1453 labelPosition.Y = position.Y - size.Height; 1461 labelPosition.Y = position.Y - size.Height/2F; 1495 position.Y += sizeMarker.Height / 1.75F; 1496 position.Y += sizeFont.Height/ 2F; 1500 position.Y -= sizeMarker.Height / 1.75F; 1501 position.Y -= sizeFont.Height/ 2F; 1505 position.X -= sizeMarker.Height / 1.75F; 1509 position.X -= sizeMarker.Height / 1.75F; 1510 position.Y -= sizeMarker.Height / 1.75F; 1511 position.Y -= sizeFont.Height/ 2F; 1515 position.X -= sizeMarker.Height / 1.75F; 1516 position.Y += sizeMarker.Height / 1.75F; 1517 position.Y += sizeFont.Height/ 2F; 1520 position.X += sizeMarker.Height / 1.75F; 1523 position.X += sizeMarker.Height / 1.75F; 1524 position.Y -= sizeMarker.Height / 1.75F; 1525 position.Y -= sizeFont.Height/ 2F; 1528 position.X += sizeMarker.Height / 1.75F; 1529 position.Y += sizeMarker.Height / 1.75F; 1530 position.Y += sizeFont.Height/ 2F;
Common\General\StripLine.cs (8)
486 lineRect.Y = point1.Y - relBorderWidth.Height / 2f; 488 lineRect.Height = relBorderWidth.Height; 706textSizeProjection[2] = new Point3D(0f, size.Height, zPositon); 714size.Height *= size.Height / (textSizeProjection[2].Y - textSizeProjection[0].Y); 738rotationCenter.Y = rect.Top + size.Height / 2 + sizeBorder.Height; 742rotationCenter.Y = rect.Bottom - size.Height / 2 - sizeBorder.Height;
Common\General\Title.cs (9)
1375layoutArea.Width = layoutArea.Height; 1399titleSize.Width = titleSize.Height; 1425 titlePosition.Height = titleSize.Height; 1489 titleSize.Height); 1863layoutArea.Width = layoutArea.Height; 1889titleSize.Width = titleSize.Height; 1895 titlePosition.Height = titleSize.Height; 1897 if(float.IsNaN(titleSize.Height) || float.IsNaN(titleSize.Width)) 1919 titlePosition.Y = chartAreasRectangle.Bottom - titleSize.Height - elementSpacing;
System.Workflow.Activities (1)
Designers\StateMachineDesignerPaint.cs (1)
47return new Size(Convert.ToInt32(Math.Ceiling(textSize.Width)), Convert.ToInt32(Math.Ceiling(textSize.Height)));
System.Workflow.ComponentModel (12)
AuthoringOM\Design\DesignerHelpers.cs (1)
79return new Size(Convert.ToInt32(Math.Ceiling(textSize.Width)), Convert.ToInt32(Math.Ceiling(textSize.Height)));
AuthoringOM\Design\DesignerWidgets.cs (3)
1343maxTextSize.Height = Math.Max(Convert.ToInt32(Math.Ceiling(size.Height)), maxTextSize.Height); 1978this.drawItems[i].TextSize = new Size(Convert.ToInt32(Math.Ceiling(sizef.Width)), Convert.ToInt32(Math.Ceiling(sizef.Height))); 3386this.previewDescTextSize = new Size(Convert.ToInt32(Math.Ceiling(stringSize.Width)), Convert.ToInt32(Math.Ceiling(stringSize.Height)));
AuthoringOM\Design\WorkflowLayouts.cs (6)
151transformationMatrix.Scale(viewPortData.Scaling.Width, viewPortData.Scaling.Height, MatrixOrder.Prepend); 239transformationMatrix.Scale(viewPortData.Scaling.Width, viewPortData.Scaling.Height, MatrixOrder.Prepend); 535coOrdTxMatrix.Scale(viewPortData.Scaling.Width, viewPortData.Scaling.Height, MatrixOrder.Prepend); 546coOrdTxMatrix.Scale(viewPortData.Scaling.Width / (float)this.parentView.Zoom * 100.0f, viewPortData.Scaling.Height / (float)this.parentView.Zoom * 100.0f); 608coOrdTxMatrix.Scale(viewPortData.Scaling.Width, viewPortData.Scaling.Height, MatrixOrder.Prepend); 627viewPortMatrix.Scale(viewPortData.Scaling.Width, viewPortData.Scaling.Height, MatrixOrder.Prepend);
AuthoringOM\Design\WorkflowPrinting.cs (1)
266layoutRectangle.Size = new Size(Convert.ToInt32(Math.Ceiling((stringSize.Width))), Convert.ToInt32(Math.Ceiling((stringSize.Height))));
AuthoringOM\Design\WorkflowView.cs (1)
1573transformationMatrix.Scale(viewPortData.Scaling.Width, viewPortData.Scaling.Height, MatrixOrder.Prepend);