Dundas Chart for Windows Forms
ChartGraphics Class Members
See Also  Properties  Methods  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace : ChartGraphics Class


The following tables list the members exposed by ChartGraphics.

Public Properties

  Name Description
Public Property Clip Gets or sets a Region object that limits the drawing region of this Graphics object. (Inherited from ChartRenderingEngine)
Public Property Graphics

Gets or sets a GDI+ Graphics object, to be used for drawing purposes.


Reference to the Graphics object  
Public Property IsClipEmpty Gets a value indicating whether the clipping region of this Graphics object is empty. (Inherited from ChartRenderingEngine)
Public Property SmoothingMode Gets or sets the rendering quality for this Graphics object. (Inherited from ChartRenderingEngine)
Public Property TextRenderingHint Gets or sets the rendering mode for text associated with this Graphics object. (Inherited from ChartRenderingEngine)
Public Property Transform Gets or sets the world transformation for this Graphics object. (Inherited from ChartRenderingEngine)
Top

Public Methods

  Name Description
Public Method BeginSelection This method starts Selection mode (Inherited from ChartRenderingEngine)
Public Method Close Close Svg File (Inherited from ChartRenderingEngine)
Public Method CreateStarPolygon Creates a polygon for a multi-corner star marker.
Creates polygon for multi-corner star marker.  
Public Method Dispose  
Public Method DrawArc Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height. (Inherited from ChartRenderingEngine)
Public Method DrawCurve Draws a cardinal spline through a specified array of PointF structures using a specified tension. The drawing begins offset from the beginning of the array. (Inherited from ChartRenderingEngine)
Public Method DrawEllipse Overloaded.  Draws an ellipse defined by a bounding rectangle specified by a pair of coordinates, a height, and a width. (Inherited from ChartRenderingEngine)
Public Method DrawImage Overloaded.  Draws the specified portion of the specified Image object at the specified location and with the specified size. (Inherited from ChartRenderingEngine)
Public Method DrawLine Overloaded.  Draws a line connecting two PointF structures. (Inherited from ChartRenderingEngine)
Public Method DrawLines Draws a series of line segments that connect an array of PointF structures. (Inherited from ChartRenderingEngine)
Public Method DrawPath Draws a GraphicsPath object. (Inherited from ChartRenderingEngine)
Public Method DrawPie Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, and a height and two radial lines. (Inherited from ChartRenderingEngine)
Public Method DrawPolygon Draws a polygon defined by an array of PointF structures. (Inherited from ChartRenderingEngine)
Public Method DrawRectangle Overloaded.  Draws a rectangle specified by a coordinate pair, a width, and a height. (Inherited from ChartRenderingEngine)
Public Method DrawString Overloaded.  Draws the specified text string in the specified rectangle with the specified Brush and Font objects using the formatting attributes of the specified StringFormat object. (Inherited from ChartRenderingEngine)
Public Method EndHotRegion Use of this method ends the creation of active regions of an SVG render. (Inherited from ChartRenderingEngine)
Public Method EndSelection This method stops Selection mode (Inherited from ChartRenderingEngine)
Public Method FillEllipse Fills the interior of an ellipse defined by a bounding rectangle specified by a RectangleF structure. (Inherited from ChartRenderingEngine)
Public Method FillPath Fills the interior of a GraphicsPath object. (Inherited from ChartRenderingEngine)
Public Method FillPie Fills the interior of a pie section defined by an ellipse specified by a pair of coordinates, a width, and a height and two radial lines. (Inherited from ChartRenderingEngine)
Public Method FillPolygon Fills the interior of a polygon defined by an array of points specified by PointF structures . (Inherited from ChartRenderingEngine)
Public Method FillRectangle Overloaded.  Fills the interior of a rectangle specified by a RectangleF structure. (Inherited from ChartRenderingEngine)
Public Method FillRectangleShadowAbs Draws a shadow for a bar.
Draw Shadow for a bar  
Public Method FillRegion Fills the interior of a Region object. (Inherited from ChartRenderingEngine)
Public Method GetAbsolutePoint

Takes a PointF object and converts its relative coordinates to absolute coordinates. Useful for custom drawing routines.


Converts Relative Coordinates of Point to Absolute coordinates  
Public Method GetAbsoluteRectangle

Takes a RectangleF object and converts its relative coordinates to absolute coordinates.


Converts Relative Coordinates of Rectangle to Absolute coordinates  
Public Method GetAbsoluteSize

This method takes a SizeF object that uses relative coordinates and returns a SizeF object that uses absolute coordinates.


Converts Relative size to Absolute size  
Public Method GetGradientBrush This method creates a gradient brush.  
Public Methodstatic (Shared in Visual Basic) GetGradientColor Returns the gradient color from a given gradient position.
Returns the gradient color from a gradient position.  
Public Method GetHatchBrush Creates a Hatch Brush.  
Public Method GetPositionFromAxis

This method takes a given axis value for a specified axis and returns the relative pixel value


This method will return relative pixel position (in percentages 0 – 100) from double value. This method uses axis position and axis scale to find position for the value. This method is very important for custom drawing inside chart area and it helps to find position for a data point value.  
Public Method GetRelativePoint

This method takes a PointF object and then returns the object after converting its absolute coordinates to relative coordinates.


Converts Absolute Coordinates of Point to Relative coordinates  
Public Method GetRelativeRectangle

Takes a RectangleF structure that is using absolute coordinates and returns a RectangleF object that uses relative coordinates.


Converts Absolute Coordinates of Rectangle to Relative coordinates  
Public Method GetRelativeSize

Takes a SizeF object that uses absolute coordinates and returns a SizeF object that uses relative coordinates.


Converts Absolute size to Relative size  
Public Method MeasureString Overloaded.  Measures the specified string when drawn with the specified Font object and formatted with the specified StringFormat object. (Inherited from ChartRenderingEngine)
Public Method Open Open Svg File for writing (Inherited from ChartRenderingEngine)
Public Method ResetClip Resets the clip region of this Graphics object to an infinite region. (Inherited from ChartRenderingEngine)
Public Method Restore Restores the state of this Graphics object to the state represented by a GraphicsState object. (Inherited from ChartRenderingEngine)
Public Method Save Saves the current state of this Graphics object and identifies the saved state with a GraphicsState object. (Inherited from ChartRenderingEngine)
Public Method SetClip Overloaded.  Sets the clipping region of this Graphics object to the rectangle specified by a RectangleF structure. (Inherited from ChartRenderingEngine)
Public Method SetGradient This method sets gradient type for SVG rendering (Inherited from ChartRenderingEngine)
Public Method SetTitle Set Title for SCG Document (Inherited from ChartRenderingEngine)
Public Method StartHotRegion Overloaded. Begins the creation of an active region within a SVG rendered document. (Inherited from ChartRenderingEngine)
Public Method TranslateTransform Prepends the specified translation to the transformation matrix of this Graphics object. (Inherited from ChartRenderingEngine)
Top

See Also

© 2009 All Rights Reserved.