New to Telerik UI for WinForms? Start a free 30-day trial

Draws a Cartesian axis line at its configured plot-area edge, accounting for the axis offset.

Definition

Constructors

Initializes a new instance of the SparkCartesianAxisDrawPart class.

C#
public SparkCartesianAxisDrawPart(SparkCartesianAxis axis, ISparkRenderer renderer)
Parameters:axisSparkCartesianAxis

The axis.

rendererISparkRenderer

The renderer.

Methods

Draws the axis.

C#
protected override void DrawAxis()

Overrides: SparkAxisDrawPart.DrawAxis()

Gets the clip rect.

C#
protected override RectangleF GetClipRect()
Returns:

RectangleF

Overrides: SparkAxisDrawPart.GetClipRect()