This class provides numerous conversion functions and also exposes a GDI+ Graphics object.
A DataPoint object to be used as the first object drawn in the hot region and the source for the Href and Tooltip.
ChartGraphics class provides all chart drawing capabilities. It contains methods for drawing 2D primitives and also exposes all ChartGraphics3D class methods for 3D shapes. Only this class should be used for any drawing in the chart.
Visual Basic (Declaration) | |
---|---|
Public Class ChartGraphics Inherits ChartGraphics3D Implements k, l |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class ChartGraphics : ChartGraphics3D, k, l |
This class provides numerous conversion functions and also exposes a GDI+ Graphics object. Note that when rendering as SVG, use of the Graphic object for custom drawing will not be included as part of the SVG document.
Note that by default ChartGraphics functions usually take absolute coordinates, so the conversion methods of this class should be useful when performing drawing operations.
A ChartGraphics object is exposed as an argument in the ChartPaintEventArgs class, making it easy to perform custom drawing in the Paint and BackPaint events.
IMPORTANT: If significant changes are made to the default behavior of the Graphics object then the chart image and its associated elements may be drawn erratically (e.g. positioning may be changed, etc.). We highly recommend getting to know GDI+ very well before making significant changes to the Graphics object's properties.
System.Object
Dundas.Charting.WebControl.ChartRenderingEngine
Dundas.Charting.WebControl.ChartGraphics3D
Dundas.Charting.WebControl.ChartGraphics
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family