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

Definition

Constructors

Initializes a new instance of the SparkLineSeriesDrawPart class.

C#
public SparkLineSeriesDrawPart(SparkLineSeries series, ISparkRenderer renderer)
Parameters:seriesSparkLineSeries

The series.

rendererISparkRenderer

The renderer.

Methods

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

bool

Overrides: SparkPointSeriesDrawPart.CanDrawPointMarkers(SparkDataPoint)

Draws the line.

C#
protected override void DrawLine()

Overrides: SparkCartesianSeriesDrawPart.DrawLine()

Draws the series parts.

C#
public override void DrawSeriesParts()

Overrides: SparkSeriesDrawPart.DrawSeriesParts()

C#
protected override RectangleF GetAdjustedClipRect(Graphics g)
Parameters:gGraphicsReturns:

RectangleF

Overrides: SparkDrawPart<SparkSeries>.GetAdjustedClipRect(Graphics)

Gets the line path.

C#
protected override GraphicsPath GetLinePath()
Returns:

GraphicsPath

Overrides: SparkPointSeriesDrawPart.GetLinePath()

Gets the line paths.

C#
protected virtual GraphicsPath GetLinePaths(PointF[] points)
Parameters:pointsPointF[]

The points.

Returns:

GraphicsPath

Gets the points positions array.

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

PointF[]

Overrides: SparkPointSeriesDrawPart.GetPointsPositionsArray()

Gets the points positions arrays.

C#
protected virtual List<PointF[]> GetPointsPositionsArrays()
Returns:

List<PointF[]>