Class
WaterfallSeriesDrawPart

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

Definition

Constructors

WaterfallSeriesDrawPart(WaterfallSeries, IChartRenderer)

Initializes a new instance of the WaterfallSeriesDrawPart class.

Declaration

cs-api-definition
public WaterfallSeriesDrawPart(WaterfallSeries series, IChartRenderer renderer)

Parameters

series

WaterfallSeries

renderer

IChartRenderer

Methods

DrawConnections(Graphics, PointF, RectangleF, WaterfallDataPoint)

Draws the connection by the given rectangle and point.

Declaration

cs-api-definition
protected virtual void DrawConnections(Graphics graphics, PointF previousPointConnection, RectangleF barBounds, WaterfallDataPoint point)

Parameters

graphics

Graphics

previousPointConnection

PointF

barBounds

RectangleF

point

WaterfallDataPoint

DrawSeriesParts()

Draws the WaterfallSeries.

Declaration

cs-api-definition
public override void DrawSeriesParts()

Overrides ChartSeriesDrawPart.DrawSeriesParts()

FindConnectionPointForNextPoint(RectangleF, WaterfallDataPoint)

Returns a connection point by the given rectangle and point

Declaration

cs-api-definition
protected virtual PointF FindConnectionPointForNextPoint(RectangleF barBounds, WaterfallDataPoint point)

Parameters

barBounds

RectangleF

point

WaterfallDataPoint

Returns

PointF

HitTest(Point)

Returns a DataPoint by the given location

Declaration

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

Parameters

location

Point

Returns

DataPoint

Overrides DrawPart<ChartSeries>.HitTest(Point)