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

Definition

Constructors

Initializes a new instance of the OhlcSeriesDrawPart class.

C#
public OhlcSeriesDrawPart(OhlcSeries series, IChartRenderer renderer)
Parameters:seriesOhlcSeries

The series.

rendererIChartRenderer

The renderer.

Methods

Constructs the path.

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

The point.

slotRectangleF

The slot.

Returns:

GraphicsPath

Draws the series parts.

C#
public override void DrawSeriesParts()

Overrides: ChartSeriesDrawPart.DrawSeriesParts()

Gets the DataPoint that hits the location.

C#
public override DataPoint HitTest(Point location)
Parameters:locationPoint

The location.

Returns:

DataPoint

Overrides: DrawPart<ChartSeries>.HitTest(Point)