3 writes to Graphics
System.Web.DataVisualization (3)
Common\Annotation\TextAnnotation.cs (1)
940
tempChartGraph.
Graphics
= graphics;
Common\General\Chart.cs (2)
1630
ChartGraph.
Graphics
= offScreen;
1793
ChartGraph.
Graphics
= graph;
81 references to Graphics
System.Web.DataVisualization (81)
Common\Annotation\ImageAnnotation.cs (1)
708
if (imageLoader.GetAdjustedImageSize(this.Image, chartGraphics.
Graphics
, ref absSize))
Common\ChartTypes\AreaChart.cs (1)
362
if (!graph.IsClipEmpty && !graph.Clip.IsInfinite(graph.
Graphics
))
Common\ChartTypes\BarChart.cs (6)
715
if (graph != null && graph.
Graphics
!= null)
719
size.Width = pixelSize * graph.
Graphics
.DpiX / 96;
720
size.Height = pixelSize * graph.
Graphics
.DpiY / 96;
771
common.ImageLoader.GetAdjustedImageSize(point.MarkerImage, graph.
Graphics
, ref markerSize);
1754
common.ImageLoader.GetAdjustedImageSize(point.MarkerImage, graph.
Graphics
, ref markerSize);
1879
common.ImageLoader.GetAdjustedImageSize(point.MarkerImage, graph.
Graphics
, ref markerSize);
Common\ChartTypes\BoxPlotChart.cs (4)
847
if (graph != null && graph.
Graphics
!= null)
850
size.Width = markerSize * graph.
Graphics
.DpiX / 96;
851
size.Height = markerSize * graph.
Graphics
.DpiY / 96;
855
common.ImageLoader.GetAdjustedImageSize(markerImage, graph.
Graphics
, ref size);
Common\ChartTypes\BubbleChart.cs (3)
183
if (graph != null && graph.
Graphics
!= null)
186
size.Width = markerSize * graph.
Graphics
.DpiX / 96;
187
size.Height = markerSize * graph.
Graphics
.DpiY / 96;
Common\ChartTypes\ErrorBarChart.cs (4)
904
if (graph != null && graph.
Graphics
!= null)
907
size.Width = markerSize * graph.
Graphics
.DpiX / 96;
908
size.Height = markerSize * graph.
Graphics
.DpiY / 96;
912
common.ImageLoader.GetAdjustedImageSize(markerImage, graph.
Graphics
, ref size);
Common\ChartTypes\FastPointChart.cs (3)
333
if (graph != null && graph.
Graphics
!= null)
336
markerSize = (int)Math.Max(markerSize * graph.
Graphics
.DpiX / 96, markerSize * graph.
Graphics
.DpiY / 96);
Common\ChartTypes\FunnelChart.cs (1)
1191
this.Graph.
Graphics
.FillPath(brush, segmentPath);
Common\ChartTypes\PointChart.cs (4)
1415
if (graph != null && graph.
Graphics
!= null)
1418
size.Width = markerSize * graph.
Graphics
.DpiX / 96;
1419
size.Height = markerSize * graph.
Graphics
.DpiY / 96;
1423
common.ImageLoader.GetAdjustedImageSize(markerImage, graph.
Graphics
, ref size);
Common\ChartTypes\RadarChart.cs (4)
960
if (graph != null && graph.
Graphics
!= null)
963
size.Width = markerSize * graph.
Graphics
.DpiX / 96;
964
size.Height = markerSize * graph.
Graphics
.DpiY / 96;
968
common.ImageLoader.GetAdjustedImageSize(markerImage, graph.
Graphics
, ref size);
Common\ChartTypes\RangeChart.cs (1)
522
if (!graph.IsClipEmpty && !graph.Clip.IsInfinite(graph.
Graphics
))
Common\ChartTypes\StockChart.cs (16)
542
if (graph != null && graph.
Graphics
!= null)
545
markerSize.Width = point.MarkerSize * graph.
Graphics
.DpiX / 96;
546
markerSize.Height = point.MarkerSize * graph.
Graphics
.DpiY / 96;
550
common.ImageLoader.GetAdjustedImageSize(point.MarkerImage, graph.
Graphics
, ref markerSize);
1009
if (graph != null && graph.
Graphics
!= null)
1012
markerSize.Width = point.MarkerSize * graph.
Graphics
.DpiX / 96;
1013
markerSize.Height = point.MarkerSize * graph.
Graphics
.DpiY / 96;
1017
common.ImageLoader.GetAdjustedImageSize(point.MarkerImage, graph.
Graphics
, ref markerSize);
1369
if (graph != null && graph.
Graphics
!= null)
1372
markerSize.Width = point.MarkerSize * graph.
Graphics
.DpiX / 96;
1373
markerSize.Height = point.MarkerSize * graph.
Graphics
.DpiY / 96;
1377
common.ImageLoader.GetAdjustedImageSize(point.MarkerImage, graph.
Graphics
, ref markerSize);
1876
if (common != null && common.graph != null && common.graph.
Graphics
!= null)
1879
markerSize.Width = point.MarkerSize * common.graph.
Graphics
.DpiX / 96;
1880
markerSize.Height = point.MarkerSize * common.graph.
Graphics
.DpiY / 96;
1885
common.ImageLoader.GetAdjustedImageSize(point.MarkerImage, common.graph.
Graphics
, ref markerSize);
Common\General\Axis.cs (4)
5320
if (this.Common.ImageLoader.GetAdjustedImageSize(label.Image, chartGraph.
Graphics
, ref imageAbsSize))
5491
if(this.Common.ImageLoader.GetAdjustedImageSize(label.Image, chartGraph.
Graphics
, ref imageAbsSize))
5725
if (this.Common.ImageLoader.GetAdjustedImageSize(label.Image, chartGraph.
Graphics
, ref imageAbsSize))
5948
if(this.Common.ImageLoader.GetAdjustedImageSize(label.Image, chartGraph.
Graphics
, ref imageAbsSize))
Common\General\Chart.cs (2)
1638
Paint(ChartGraph.
Graphics
, false);
2119
border3D.Resolution = chartGraph.
Graphics
.DpiX;
Common\General\ChartGraphics.cs (13)
418
if (ImageLoader.DoDpisMatch(image, this.
Graphics
))
422
Image scaledImage = ImageLoader.GetScaledImage(image, this.
Graphics
);
717
ImageLoader.GetAdjustedImageSize(image, this.
Graphics
, ref size);
2068
if (!region.IsEmpty(
Graphics
))
2071
RectangleF truncateRect = region.GetBounds(
Graphics
);
2133
ImageLoader.GetAdjustedImageSize(labelImage, this.
Graphics
, ref imageAbsSize);
3450
else if (this.
Graphics
.Transform.Elements[0] != 1f ||
3451
this.
Graphics
.Transform.Elements[3] != 1f)
3544
ImageLoader.GetAdjustedImageSize(image, this.
Graphics
, ref imageAbsSize);
4225
ImageLoader.GetAdjustedImageSize(image, this.
Graphics
, ref imageAbsSize);
4521
ImageLoader.GetAdjustedImageSize(image, this.
Graphics
, ref imageSize);
4917
borderTypeInterface.Resolution = this.
Graphics
.DpiX;
5643
if(
Graphics
== null )
Common\General\Legend.cs (1)
6212
dpi = Common.graph.
Graphics
.DpiX;
Common\General\LegendColumns.cs (13)
1510
if (this.Common.ImageLoader.GetAdjustedImageSize(this.Image, graph.
Graphics
, ref imageSize))
2097
ImageLoader.GetAdjustedImageSize(image, chartGraph.
Graphics
, ref imageSize);
2184
CompositingQuality oldCompositingQuality = chartGraph.
Graphics
.CompositingQuality;
2185
InterpolationMode oldInterpolationMode = chartGraph.
Graphics
.InterpolationMode;
2187
chartGraph.
Graphics
.CompositingQuality = CompositingQuality.HighQuality;
2188
chartGraph.
Graphics
.InterpolationMode = InterpolationMode.HighQualityBicubic;
2203
chartGraph.
Graphics
.CompositingQuality = oldCompositingQuality;
2204
chartGraph.
Graphics
.InterpolationMode = oldInterpolationMode;
2294
ImageLoader.GetAdjustedImageSize(image, chartGraph.
Graphics
, ref imageSize);
2339
int maxShadowOffset = (int)Math.Round((3 * chartGraph.
Graphics
.DpiX) / 96);
2340
int maxBorderWidth = (int)Math.Round((3 * chartGraph.
Graphics
.DpiX) / 96);
2344
int maxBorderWidthRect = (int)Math.Round((2 * chartGraph.
Graphics
.DpiX) / 96);
2435
ImageLoader.GetAdjustedImageSize(image, chartGraph.
Graphics
, ref imageSize);