IShapeSeries
Hierarchy Properties Methods

Type Library
TeeChartx

Description
Follow this link for a visual representation of this Series type.

The ShapeSeries class is a special Series class. It allows the developer to place shapes inside Chart bounds.

Set the ParentChart property to the desired Chart class.

Then, set the X0, Y0 and X1, Y1 properties to the desired point coordinates. The X0, Y0, X1 and Y1 properties must be expressed in axis scales.

The default Shape style is an horizontal line. Choose the desired style (Rectangle, Ellipse, etc) by using the Style property.

The Brush and Pen properties determine the shape color and frame attributes.

The Clicked method can be used to check if mouse cursor is over shape boundaries.

Shapes can be zoomed and scrolled as with any other Series type.

Please refer to Series ancestor description for all common Series properties like Marks, Axis dependence, methods and events.