Common\Annotation\AnnotationBase.cs (11)
2046SizeF markerSizeRel = chartGraphics.GetRelativeSize(new SizeF(markerSize, markerSize));
2386 virtual internal void GetRelativePosition(out PointF location, out SizeF size, out PointF anchorLocation)
2460 SizeF groupSize = SizeF.Empty;
2821SizeF markerSizeRel = new SizeF((float)this.AnchorOffsetX, (float)this.AnchorOffsetY);
3102 virtual internal void AdjustLocationSize(SizeF movingDistance, ResizingMode resizeMode)
3113 virtual internal void AdjustLocationSize(SizeF movingDistance, ResizingMode resizeMode, bool pixelCoord)
3125 virtual internal void AdjustLocationSize(SizeF movingDistance, ResizingMode resizeMode, bool pixelCoord, bool userInput)
3138 SizeF size = SizeF.Empty;
3538 SizeF markerSizeRel = this.GetGraphics().GetRelativeSize(
Common\ChartTypes\BarChart.cs (17)
343 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f));
718SizeF size = new SizeF();
758 SizeF markerSize = SizeF.Empty;
970SizeF valueTextSize = graph.MeasureStringRel(text, point.Font);
1031SizeF valueTextSize = graph.MeasureStringRel(text, point.Font);
1061SizeF textSize = graph.MeasureStringRel(text, point.Font);
1105 private void SetHotRegions( CommonElements common, ChartGraphics graph, DataPoint point, SizeF markerSize, string seriesName, int pointIndex, MarkerStyle pointMarkerStyle, PointF markerPosition )
1109 SizeF relativeMarkerSize = markerSize;
1318 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f));
1741 SizeF markerSize = SizeF.Empty;
1866 SizeF markerSize = SizeF.Empty;
1989SizeF valueTextSize = graph.MeasureStringRel(text, point.Font);
2042SizeF size = graph.MeasureStringRel(text, point.Font, new SizeF(rectLabel.Width, rectLabel.Height), format);
2114SizeF sizeLabel = new SizeF(size.Width, size.Height);
Common\ChartTypes\ColumnChart.cs (8)
269 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f));
661 SizeF pixelRelSize = graph.GetRelativeSize(new SizeF(1.1f, 1.1f));
1124 SizeF markerSize = base.GetMarkerSize(
1164 SizeF relativeMarkerSize = graph.GetRelativeSize(markerSize);
1246SizeF sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic));
1250SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
1368SizeF sizeFont = graph.GetRelativeSize(graph.MeasureString(text, point.Font, new SizeF(1000f, 1000f), StringFormat.GenericTypographic));
1372SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\PieChart.cs (16)
792 SizeF absoluteSize = graph.GetAbsoluteSize( new SizeF( rectangle.Width, rectangle.Height ) );
796 SizeF relativeSize = graph.GetRelativeSize( new SizeF( absRadius, absRadius ) );
1074 public void DrawLabels( ChartGraphics graph, PointF middlePoint, SizeF relativeSize, float startAngle, float sweepAngle, DataPoint point, float doughnutRadius, bool exploded, ChartArea area, bool overlapTest, int pointIndex, Color pieLineColor )
1251SizeF sizeFont = graph.GetRelativeSize(
1260SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
1401SizeF valueTextSize = graph.MeasureStringRel(text.Replace("\\n", "\n"), point.Font);
1501 SizeF size = graph.MeasureStringRel( text.Replace("\\n", "\n"), point.Font, labelRect.Size, format );
1588 public bool EstimateLabels( ChartGraphics graph, PointF middlePoint, SizeF relativeSize, float startAngle, float sweepAngle, DataPoint point, bool exploded, ChartArea area )
1745 SizeF size = graph.MeasureStringRel( text.Replace("\\n", "\n"), point.Font);
2555 SizeF absoluteSize = graph.GetAbsoluteSize( new SizeF( rectangle.Width, rectangle.Height ) );
2559 SizeF relativeSize = graph.GetRelativeSize( new SizeF( absRadius, absRadius ) );
5319 SizeF size = graph.MeasureStringRel( GetLabelText( point ).Replace("\\n", "\n"), point.Font );
5361 SizeF fontSize = new SizeF(1.4F * series.Font.Size,1.4F * series.Font.Size);
5499SizeF valueTextSize = graph.MeasureStringRel(text.Replace("\\n", "\n"), point.Font);
5567 SizeF sizeFont = graph.GetRelativeSize(
5576 SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
Common\ChartTypes\PointChart.cs (17)
446 SizeF markerSize = GetMarkerSize(
617 private void SetHotRegions( CommonElements common, ChartGraphics graph, DataPoint point, SizeF markerSize, string seriesName, int pointIndex, MarkerStyle pointMarkerStyle, PointF markerPosition )
621 SizeF relativeMarkerSize = graph.GetRelativeSize(markerSize);
699SizeF sizeMarker = graph.GetRelativeSize(new SizeF(markerSize, markerSize));
700SizeF sizeFont = graph.GetRelativeSize(
703SizeF sizeSingleCharacter = graph.GetRelativeSize(
707SizeF sizeLabel = new SizeF(sizeFont.Width, sizeFont.Height);
968 SizeF size,
978 SizeF pixelSize = SizeF.Empty;
1179 SizeF markerSize = GetMarkerSize(
1274 SizeF relativeMarkerSize = graph.GetRelativeSize(markerSize);
1406 virtual protected SizeF GetMarkerSize(
1414 SizeF size = new SizeF(markerSize, markerSize);
1729 SizeF markerSize = GetMarkerSize(
1797 internal SizeF MarkerSize = SizeF.Empty;
Common\General\Axis.cs (37)
1824SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height);
1844SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height));
1867SizeF axisTitleSize = new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height);
1887SizeF axisTitleSize = graph.GetAbsoluteSize(new SizeF(titleSizeWithoutSpacing, ChartArea.PlotAreaPosition.Height));
2243SizeF realTitleSize = graph.MeasureString(axisTitle.Replace("\\n", "\n"), this.TitleFont, new SizeF(10000f, 10000f), format, this.GetTextOrientation());
2244SizeF axisTitleSize = SizeF.Empty;
2668SizeF size = graph.GetRelativeSize(new SizeF(3, 3));
3394SizeF titleStringSize = chartGraph.MeasureStringRel(this.Title.Replace("\\n", "\n"), this.TitleFont, new SizeF(10000f, 10000f), StringFormat.GenericTypographic, this.GetTextOrientation());
3436SizeF arrowSizePrimary = SizeF.Empty;
3437SizeF arrowSizeSecondary = SizeF.Empty;
3446arrowSizePrimary = SizeF.Empty;
3455arrowSizeSecondary = SizeF.Empty;
3466arrowSizePrimary = SizeF.Empty;
3475arrowSizeSecondary = SizeF.Empty;
3536SizeF borderSize = chartGraph.GetRelativeSize(new SizeF(this.LineWidth, this.LineWidth));
3580SizeF areaWallSize = chartGraph.GetRelativeSize(new SizeF(ChartArea.Area3DStyle.WallWidth, ChartArea.Area3DStyle.WallWidth));
4856SizeF textSize = graph.MeasureString(
5313SizeF axisLabelSize = chartGraph.MeasureStringRel(label.Text.Replace("\\n", "\n"), autoLabelFont);
5318SizeF imageAbsSize = new SizeF();
5322SizeF imageRelSize = chartGraph.GetRelativeSize(imageAbsSize);
5332SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4));
5463SizeF axisLabelSize = chartGraph.MeasureStringRel(
5489SizeF imageAbsSize = new SizeF();
5493SizeF imageRelSize = chartGraph.GetRelativeSize(imageAbsSize);
5511SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4));
5701SizeF axisLabelSize = chartGraph.MeasureStringRel(label.Text.Replace("\\n", "\n"),
5723SizeF imageAbsSize = new SizeF();
5727SizeF imageRelSize = chartGraph.GetRelativeSize(imageAbsSize);
5746SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4));
5938SizeF axisLabelSize = chartGraph.MeasureStringRel(label.Text.Replace("\\n", "\n"), (autoLabelFont != null) ? autoLabelFont : this.LabelStyle.Font);
5946SizeF imageAbsSize = new SizeF();
5950 SizeF imageRelSize = chartGraph.GetRelativeSize(imageAbsSize);
5960 SizeF spacerSize = chartGraph.GetRelativeSize(new SizeF(4, 4));
6137internal SizeF GetArrowSize(out ArrowOrientation arrowOrientation)
Common\General\ChartGraphics.cs (33)
716SizeF size = new SizeF();
1151internal SizeF MeasureString(
1154SizeF layoutArea,
1181internal SizeF MeasureStringRel(
1184SizeF layoutArea,
1710internal GraphicsPath GetTranformedTextRectPath(PointF center, SizeF size, int angle)
1780SizeF labelSize = SizeF.Empty;
2125SizeF imageAbsSize = new SizeF();
2160SizeF labelSizeWithImage = new SizeF(labelSize.Width, labelSize.Height);
2186SizeF size = this.MeasureString("I", font, absPosition.Size, drawingFormat);
2203SizeF size = this.MeasureString("I", font, absPosition.Size, drawingFormat);
2518 SizeF labelSize,
2635 internal SizeF MeasureStringRel( string text, Font font )
2637 SizeF newSize;
2656 internal SizeF MeasureStringRel( string text, Font font, SizeF layoutArea, StringFormat stringFormat )
2658 SizeF size, newSize;
2680 SizeF size = this.MeasureString( text, font );
2694 internal Size MeasureStringAbs( string text, Font font, SizeF layoutArea, StringFormat stringFormat )
2696 SizeF size = this.MeasureString( text, font, layoutArea, stringFormat );
2762 SizeF size;
3539SizeF imageAbsSize = new SizeF();
4223SizeF imageAbsSize = new SizeF();
4519SizeF imageSize = new SizeF();
4692 public SizeF GetRelativeSize( SizeF size )
4698SizeF relative = SizeF.Empty;
4760 public SizeF GetAbsoluteSize( SizeF size )
4766SizeF absolute = SizeF.Empty;
Common\General\SmartLabels.cs (21)
636 SizeF labelSize,
639 SizeF markerSize,
677 SizeF labelSize,
680 SizeF markerSize,
779 SizeF labelSize,
782 ref SizeF markerSize,
786 SizeF newMarkerSize = SizeF.Empty;
804 SizeF pixelSize = graph.GetRelativeSize(new SizeF(1f, 1f));
912 SizeF labelSize,
915 SizeF markerSize,
1038 SizeF size,
1381 SizeF size,
1408 SizeF size,
1418 SizeF pixelSize = SizeF.Empty;
1479 SizeF sizeMarker,
1480 SizeF sizeFont,
1582 SizeF size,
1699 SizeF labelSize,
1702 SizeF markerSize,