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

WaterfallSeriesDrawPart is the ChartSeriesDrawPart that renders the points for the WaterfallSeries.

Definition

Constructors

Initializes a new instance of the WaterfallSeriesDrawPart class.

C#
public WaterfallSeriesDrawPart(WaterfallSeries series, IChartRenderer renderer)
Parameters:seriesWaterfallSeriesrendererIChartRenderer

Methods

Draws the connection by the given rectangle and point.

C#
protected virtual void DrawConnections(Graphics graphics, PointF previousPointConnection, RectangleF barBounds, WaterfallDataPoint point)
Parameters:graphicsGraphicspreviousPointConnectionPointFbarBoundsRectangleFpointWaterfallDataPoint

Draws the WaterfallSeries.

C#
public override void DrawSeriesParts()

Overrides: ChartSeriesDrawPart.DrawSeriesParts()

Returns a connection point by the given rectangle and point

C#
protected virtual PointF FindConnectionPointForNextPoint(RectangleF barBounds, WaterfallDataPoint point)
Parameters:barBoundsRectangleFpointWaterfallDataPointReturns:

PointF

Returns a DataPoint by the given location

C#
public override DataPoint HitTest(Point location)
Parameters:locationPointReturns:

DataPoint

Overrides: DrawPart<ChartSeries>.HitTest(Point)