New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Constructors

Initializes a new instance of the CandlestickSeriesDrawPart class.

C#
public CandlestickSeriesDrawPart(CandlestickSeries series, IChartRenderer renderer)
Parameters:seriesCandlestickSeries

The series.

rendererIChartRenderer

The renderer.

Methods

Constructs the path.

C#
protected override GraphicsPath ConstructPath(OhlcDataPoint point, RectangleF slot)
Parameters:pointOhlcDataPoint

The point.

slotRectangleF

The slot.

Returns:

GraphicsPath

Overrides: OhlcSeriesDrawPart.ConstructPath(OhlcDataPoint, RectangleF)

Draws the series parts.

C#
public override void DrawSeriesParts()

Overrides: OhlcSeriesDrawPart.DrawSeriesParts()

Gets the cross point path.

C#
protected virtual GraphicsPath GetCrossPointPath(OhlcDataPoint point, RectangleF slot)
Parameters:pointOhlcDataPoint

The point.

slotRectangleF

The slot.

Returns:

GraphicsPath

Gets the falling point path.

C#
protected virtual GraphicsPath GetFallingPointPath(OhlcDataPoint point, RectangleF slot)
Parameters:pointOhlcDataPoint

The point.

slotRectangleF

The slot.

Returns:

GraphicsPath

Gets the raising point path.

C#
protected virtual GraphicsPath GetRaisingPointPath(OhlcDataPoint point, RectangleF slot)
Parameters:pointOhlcDataPoint

The point.

slotRectangleF

The slot.

Returns:

GraphicsPath