Class
SparkPointSeriesDrawPart

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class SparkPointSeriesDrawPart : SparkSeriesDrawPart, ISparkDrawPart

Inheritance: objectSparkDrawPart<SparkSeries>SparkSeriesDrawPartSparkPointSeriesDrawPart

Derived Classes: SparkCartesianSeriesDrawPart

Implements: ISparkDrawPart

Inherited Members SparkSeriesDrawPart.Draw()SparkSeriesDrawPart.DrawSeriesParts()SparkSeriesDrawPart.IsElementValid()SparkDrawPart<SparkSeries>.PaintStroke(GraphicsPath, Color, float)SparkDrawPart<SparkSeries>.PaintStroke(GraphicsPath, Color)SparkDrawPart<SparkSeries>.PaintStroke(GraphicsPath)SparkDrawPart<SparkSeries>.PaintFill(GraphicsPath, Color)SparkDrawPart<SparkSeries>.PaintFill(GraphicsPath)SparkDrawPart<SparkSeries>.GetAdjustedClipRect(Graphics)SparkDrawPart<SparkSeries>.OffsetXSparkDrawPart<SparkSeries>.OffsetYSparkDrawPart<SparkSeries>.ViewportOffsetXSparkDrawPart<SparkSeries>.ViewportOffsetYSparkDrawPart<SparkSeries>.ElementSparkDrawPart<SparkSeries>.RendererSparkDrawPart<SparkSeries>.PaintContext

Constructors

SparkPointSeriesDrawPart(SparkSeries, ISparkRenderer)

Initializes a new instance of the SparkPointSeriesDrawPart class.

Declaration

cs-api-definition
public SparkPointSeriesDrawPart(SparkSeries series, ISparkRenderer renderer)

Parameters

series

SparkSeries

The series.

renderer

ISparkRenderer

The renderer.

Methods

CanDrawPointMarkers(SparkDataPoint)

Declaration

cs-api-definition
protected virtual bool CanDrawPointMarkers(SparkDataPoint dataPoint)

Parameters

dataPoint

SparkDataPoint

Returns

bool

DrawArea()

Draws the area.

Declaration

cs-api-definition
protected virtual void DrawArea()

DrawLine()

Draws the line.

Declaration

cs-api-definition
protected virtual void DrawLine()

DrawPointMarker(SparkDataPoint, PointF)

Declaration

cs-api-definition
protected virtual void DrawPointMarker(SparkDataPoint dataPoint, PointF pointLocation)

Parameters

dataPoint

SparkDataPoint

pointLocation

PointF

DrawPoints()

Draws the points.

Declaration

cs-api-definition
protected virtual void DrawPoints()

GetLinePath()

Gets the line path.

Declaration

cs-api-definition
protected virtual GraphicsPath GetLinePath()

Returns

GraphicsPath

GetPointLocation(RadRect, SizeF)

Gets the point location.

Declaration

cs-api-definition
protected virtual PointF GetPointLocation(RadRect pointSlot, SizeF pointSize)

Parameters

pointSlot

RadRect

The point slot.

pointSize

SizeF

Size of the point.

Returns

PointF

GetPointsPositionsArray()

Gets the points positions array.

Declaration

cs-api-definition
protected virtual PointF[] GetPointsPositionsArray()

Returns

PointF[]

HitTest(Point)

Returns the SparkDataPoint that hits the location.

Declaration

cs-api-definition
public override SparkDataPoint HitTest(Point location)

Parameters

location

Point

The location.

Returns

SparkDataPoint

Overrides SparkDrawPart<SparkSeries>.HitTest(Point)