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