Draws a sparkline line series as connected point segments with optional point markers.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class SparkLineSeriesDrawPart : SparkCartesianSeriesDrawPart, ISparkDrawPart
Inheritance: objectSparkDrawPart<SparkSeries>SparkSeriesDrawPartSparkPointSeriesDrawPartSparkCartesianSeriesDrawPartSparkLineSeriesDrawPart...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the SparkLineSeriesDrawPart class.
public SparkLineSeriesDrawPart(SparkLineSeries series, ISparkRenderer renderer)
The series.
rendererISparkRendererThe renderer.
Methods
Draws markers when the series enables them or the point has an enabled first, last, high, low, or negative indicator.
protected override bool CanDrawPointMarkers(SparkDataPoint dataPoint)
The point whose marker is being considered.
Returns:true when a marker or indicator should be drawn.
Overrides:
Draws the line.
protected override void DrawLine()
Overrides:
Draws the series parts.
public override void DrawSeriesParts()
Overrides:
Expands the clip by the view margins while painting a point marker; line painting uses the base clip.
protected override RectangleF GetAdjustedClipRect(Graphics g)
The graphics surface whose clip bounds are adjusted.
Returns:The clip rectangle used for the current paint context.
Overrides:
Gets the line path.
Gets the line paths.
protected virtual GraphicsPath GetLinePaths(PointF[] points)
The points.
Returns:Gets the points positions array.
Gets the points positions arrays.