CartesianRenderer
Renders a Cartesian area in draw-part order: grid, below-series annotations, series, above-series annotations, axes, and labels.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.ChartView.dll
Syntax:
public class CartesianRenderer : ChartRenderer, IChartRenderer
Inheritance: objectChartRendererCartesianRenderer
Implements:
Inherited Members
Constructors
Initializes a new instance of the CartesianRenderer class.
Properties
Gets the area.
public CartesianArea Area { get; }
The area.
Gets the draw parts.
protected List<IDrawPart> DrawParts { get; }
The draw parts.
Gets the offset X.
public virtual float OffsetX { get; }
The offset X.
Methods
Returns the offset value considering whether it is contained within the chart area.
protected virtual double ContainWithinChartArea(CartesianAxis axis, double suggestedOffset, bool isVertical)
The axis.
suggestedOffsetdoubleThe suggested offset.
isVerticalboolThe is vertical.
Returns:Draws the specified context.
Gets the axis offset.
public virtual SizeF GetAxisOffset(CartesianAxis axis)
The axis.
Returns:Initializes the renderer.
protected override void Initialize()
Overrides:
Initializes the annotations.
protected virtual void InitializeAnnotations(AnnotationDrawMode drawMode)
The draw mode.
Initializes the axes.
protected virtual void InitializeAxes()
Initializes the grid.
protected virtual void InitializeGrid()
Initializes the series.
protected virtual void InitializeSeries()
Initializes the series labels.
protected virtual void InitializeSeriesLabels()