Returns the minimal Rectangle circumscribing the specified point.

Namespace:  C1.Win.C1Chart
Assembly:  C1.Win.C1Chart.2 (in C1.Win.C1Chart.2.dll)

Syntax

C#
public Rectangle DataIndexToRect(
	int SeriesIndex,
	int PointIndex
)
Visual Basic
Public Function DataIndexToRect ( _
	SeriesIndex As Integer, _
	PointIndex As Integer _
) As Rectangle

Parameters

SeriesIndex
Type: System..::..Int32
Series index of the data point.
PointIndex
Type: System..::..Int32
Point index of the data point.

Return Value

The return value indicates successful calculation.

Remarks

The return value is the smallest Rectangle that circumscribes the symbol of the data point. Note that this method is not implemented for all chart types.

See Also