Skip to main content

SeriesPointRelationCollection.Add(SeriesPoint, TaskLinkType) Method

Creates a TaskLink object with the specified child point and task link type and adds it to the current collection.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public int Add(
    SeriesPoint childPoint,
    TaskLinkType linkType
)

Parameters

Name Type Description
childPoint SeriesPoint

A SeriesPoint object specifying the child point of the task link being created.

linkType TaskLinkType

A TaskLinkType object specifying the link type.

Returns

Type Description
Int32

An integer value indicating the position at which a new element was inserted.

Remarks

Note that the parent point of the relation being created is the owner of the current SeriesPointRelationCollection (this collection is returned via the SeriesPoint.Relations property of the parent point).

See Also