Class SparkCartesianRenderer
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class SparkCartesianRenderer : SparkRenderer, ISparkRenderer
Constructors
SparkCartesianRenderer(SparkCartesianArea)
Initializes a new instance of the SparkCartesianRenderer class.
Declaration
public SparkCartesianRenderer(SparkCartesianArea area)
Parameters
SparkCartesianArea
area
The area. |
Properties
Area
Gets the area.
Declaration
public SparkCartesianArea Area { get; }
Property Value
SparkCartesianArea
The area. |
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(SparkCartesianAxis, Double, Boolean)
Returns the offset value considering whether it is contained within the chart area.
Declaration
protected virtual double ContainWithinChartArea(SparkCartesianAxis axis, double suggestedOffset, bool isVertical)
Parameters
SparkCartesianAxis
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(SparkCartesianAxis)
Gets the axis offset.
Declaration
public virtual SizeF GetAxisOffset(SparkCartesianAxis axis)
Parameters
SparkCartesianAxis
axis
The axis. |
Returns
System.Drawing.SizeF
|
HitTest(Int32, Int32)
Returns the DataPoint that hits the x,y coordinates.
Declaration
public override SparkDataPoint HitTest(int x, int y)
Parameters
System.Int32
x
The x. |
System.Int32
y
The y. |
Returns
SparkDataPoint
|
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(AxisDrawMode)
Initializes the axes.
Declaration
protected virtual void InitializeAxes(AxisDrawMode drawMode)
Parameters
AxisDrawMode
drawMode
|
InitializeSeries()
Initializes the series.
Declaration
protected virtual void InitializeSeries()