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

Definition

Constructors

Initializes a new instance of the SparkPointSeriesDrawPart class.

C#
public SparkPointSeriesDrawPart(SparkSeries series, ISparkRenderer renderer)
Parameters:seriesSparkSeries

The series.

rendererISparkRenderer

The renderer.

Methods

C#
protected virtual bool CanDrawPointMarkers(SparkDataPoint dataPoint)
Parameters:dataPointSparkDataPointReturns:

bool

Draws the area.

C#
protected virtual void DrawArea()

Draws the line.

C#
protected virtual void DrawLine()
C#
protected virtual void DrawPointMarker(SparkDataPoint dataPoint, PointF pointLocation)
Parameters:dataPointSparkDataPointpointLocationPointF

Draws the points.

C#
protected virtual void DrawPoints()

Gets the line path.

C#
protected virtual GraphicsPath GetLinePath()
Returns:

GraphicsPath

Gets the point location.

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

The point slot.

pointSizeSizeF

Size of the point.

Returns:

PointF

Gets the points positions array.

C#
protected virtual PointF[] GetPointsPositionsArray()
Returns:

PointF[]

Returns the SparkDataPoint that hits the location.

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

The location.

Returns:

SparkDataPoint

Overrides: SparkDrawPart<SparkSeries>.HitTest(Point)