Class CartesianRenderer
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.ChartView.dll
Syntax
public class CartesianRenderer : ChartRenderer, IChartRenderer
Constructors
CartesianRenderer(CartesianArea)
Initializes a new instance of the CartesianRenderer class.
Declaration
public CartesianRenderer(CartesianArea area)
Parameters
CartesianArea
area
The area. |
Properties
Area
Gets the area.
Declaration
public CartesianArea Area { get; }
Property Value
CartesianArea
The area. |
DrawParts
Gets the draw parts.
Declaration
protected List<IDrawPart> DrawParts { get; }
Property Value
System.Collections.Generic.List<IDrawPart>
The draw parts. |
OffsetX
Gets the offset X.
Declaration
public virtual float OffsetX { get; }
Property Value
System.Single
The offset X. |
OffsetY
Gets the offset Y.
Declaration
public virtual float OffsetY { get; }
Property Value
System.Single
The offset Y. |
Methods
ContainWithinChartArea(CartesianAxis, Double, Boolean)
Returns the offset value considering whether it is contained within the chart area.
Declaration
protected virtual double ContainWithinChartArea(CartesianAxis axis, double suggestedOffset, bool isVertical)
Parameters
CartesianAxis
axis
The axis. |
System.Double
suggestedOffset
The suggested offset. |
System.Boolean
isVertical
The is vertical. |
Returns
System.Double
|
Draw(Object)
Draws the specified context.
Declaration
public override void Draw(object context)
Parameters
System.Object
context
The context. |
Overrides
GetAxisOffset(CartesianAxis)
Gets the axis offset.
Declaration
public virtual SizeF GetAxisOffset(CartesianAxis axis)
Parameters
CartesianAxis
axis
The axis. |
Returns
System.Drawing.SizeF
|
HitTest(Int32, Int32)
Returns the DataPoint that hits the x,y coordinates.
Declaration
public override DataPoint HitTest(int x, int y)
Parameters
System.Int32
x
The x. |
System.Int32
y
The y. |
Returns
DataPoint
|
Overrides
Initialize()
Initializes the renderer.
Declaration
protected override void Initialize()
Overrides
InitializeAnnotations(AnnotationDrawMode)
Initializes the annotations.
Declaration
protected virtual void InitializeAnnotations(AnnotationDrawMode drawMode)
Parameters
AnnotationDrawMode
drawMode
The draw mode. |
InitializeAxes()
Initializes the axes.
Declaration
protected virtual void InitializeAxes()
InitializeGrid()
Initializes the grid.
Declaration
protected virtual void InitializeGrid()
InitializeSeries()
Initializes the series.
Declaration
protected virtual void InitializeSeries()
InitializeSeriesLabels()
Initializes the series labels.
Declaration
protected virtual void InitializeSeriesLabels()