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

IDrawPart

Interface

Represents a portion of a chart renderer that draws content and can optionally hit-test data points.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.ChartView.dll

Syntax:

C#
public interface IDrawPart

Properties

Gets the renderer that supplies the drawing surface for this part.

C#
IChartRenderer Renderer { get; }

Methods

Draws this part of the chart.

C#
void Draw()

Gets the data point hit at the specified location, if this part supports hit testing.

C#
DataPoint HitTest(Point location)
Parameters:locationPoint

The location to test.

Returns:

DataPoint

The hit data point, or null if no point is hit.