Draws point markers using the series' marker settings and provides marker hit testing for point series.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class SparkPointSeriesDrawPart : SparkSeriesDrawPart, ISparkDrawPart
Inheritance: objectSparkDrawPart<SparkSeries>SparkSeriesDrawPartSparkPointSeriesDrawPart
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the SparkPointSeriesDrawPart class.
public SparkPointSeriesDrawPart(SparkSeries series, ISparkRenderer renderer)
The series.
rendererISparkRendererThe renderer.
Methods
Determines whether a point's marker can be drawn; the base implementation allows every point.
protected virtual bool CanDrawPointMarkers(SparkDataPoint dataPoint)
The point whose marker is being considered.
Returns:true to allow marker drawing.
Draws the area.
protected virtual void DrawArea()
Draws the line.
protected virtual void DrawLine()
Draws the point using the series marker style, applicable point-indicator styling, and empty-point behavior.
protected virtual void DrawPointMarker(SparkDataPoint dataPoint, PointF pointLocation)
The point to draw.
pointLocationPointFThe arranged location of the point marker.
Draws the points.
protected virtual void DrawPoints()
Gets the line path.
Gets the points positions array.
Returns the SparkDataPoint that hits the location.
public override SparkDataPoint HitTest(Point location)
The location.
Returns:Overrides: