2D Chart for WinForms | ComponentOne
C1.Win.C1Chart.4.5.2 Assembly / C1.Win.C1Chart Namespace / ChartGroup Class / DataIndexToRect Method
Series index of the data point.
Point index of the data point.

In This Topic
    DataIndexToRect Method
    In This Topic
    Returns the minimal Rectangle circumscribing the specified point.
    Syntax
    'Declaration
     
    Public Function DataIndexToRect( _
       ByVal SeriesIndex As System.Integer, _
       ByVal PointIndex As System.Integer _
    ) As System.Drawing.Rectangle
    public System.Drawing.Rectangle DataIndexToRect( 
       System.int SeriesIndex,
       System.int PointIndex
    )

    Parameters

    SeriesIndex
    Series index of the data point.
    PointIndex
    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