Class ChartRenderer
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class ChartRenderer : IChartRenderer
Constructors
ChartRenderer(ChartArea)
Initializes a new instance of the ChartRenderer class.
Declaration
public ChartRenderer(ChartArea area)
Parameters
ChartArea
area
The area. |
Properties
Graphics
Gets the graphics object.
Declaration
public Graphics Graphics { get; }
Property Value
System.Drawing.Graphics
The graphics. |
Surface
Gets or sets the surface.
Declaration
public object Surface { get; }
Property Value
System.Object
The surface. |
Implements
Methods
Draw(Object)
Draws the specified context.
Declaration
public virtual void Draw(object context)
Parameters
System.Object
context
The context. |
Implements
GetDistanceBetweenPoints(PointF, PointF)
Gets the distance between points.
Declaration
public float GetDistanceBetweenPoints(PointF start, PointF end)
Parameters
System.Drawing.PointF
start
The start. |
System.Drawing.PointF
end
The end. |
Returns
System.Single
|
HitTest(Int32, Int32)
Returns the DataPoint that hits the passed x,y coordinates.
Declaration
public virtual DataPoint HitTest(int x, int y)
Parameters
System.Int32
x
The x. |
System.Int32
y
The y. |
Returns
DataPoint
|
Implements
Initialize()
Initializes the renderer.
Declaration
protected virtual void Initialize()
Invalidate(Object)
Invalidates the specified model.
Declaration
public virtual void Invalidate(object model)
Parameters
System.Object
model
The model. |
Implements
MeasureRotatedLabels(String, Object, Double)
Measures the rotated labels.
Declaration
public virtual RadSize MeasureRotatedLabels(string text, object context, double rotationAngle)
Parameters
System.String
text
The text. |
System.Object
context
The context. |
System.Double
rotationAngle
The rotation angle. |
Returns
RadSize
|
Implements
MeasureText(String, Object)
Measures the text.
Declaration
public virtual RadSize MeasureText(string text, object context)
Parameters
System.String
text
The text. |
System.Object
context
The context. |
Returns
RadSize
|
Implements
ToPoint(RadPoint)
Returns Point for the gives RadPoint.
Declaration
public static Point ToPoint(RadPoint point)
Parameters
RadPoint
point
The point. |
Returns
System.Drawing.Point
|
ToPointF(RadPoint)
Returns PointF for the gives RadPoint.
Declaration
public static PointF ToPointF(RadPoint point)
Parameters
RadPoint
point
The point. |
Returns
System.Drawing.PointF
|
ToRectangle(RadRect)
Declaration
public static Rectangle ToRectangle(RadRect rect)
Parameters
RadRect
rect
|
Returns
System.Drawing.Rectangle
|
ToRectangleF(RadRect)
Declaration
public static RectangleF ToRectangleF(RadRect rect)
Parameters
RadRect
rect
|
Returns
System.Drawing.RectangleF
|
ToSize(RadSize)
Returns Size for the gives RadSize.
Declaration
public static Size ToSize(RadSize size)
Parameters
RadSize
size
The size. |
Returns
System.Drawing.Size
|
ToSizeF(RadSize)
Returns SizeF for the gives RadSize.
Declaration
public static SizeF ToSizeF(RadSize size)
Parameters
RadSize
size
The size. |
Returns
System.Drawing.SizeF
|