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

Draw part for Cartesian series that paints line paths and positions point visuals using the series offsets.

Definition

Constructors

Initializes a new instance of the CartesianSeriesDrawPart class.

C#
public CartesianSeriesDrawPart(CartesianSeries series, IChartRenderer renderer)
Parameters:seriesCartesianSeries

The series.

rendererIChartRenderer

The renderer.

Methods

Draws the line.

C#
protected override void DrawLine()

Overrides: ChartPointSeriesDrawPart.DrawLine()

Gets the point location.

C#
protected override PointF GetPointLocation(RadRect pointSlot, SizeF pointSize)
Parameters:pointSlotRadRect

The point slot.

pointSizeSizeF

Size of the point.

Returns:

PointF

Overrides: ChartPointSeriesDrawPart.GetPointLocation(RadRect, SizeF)