SeriesPointRelationCollection.Add(SeriesPoint, TaskLinkType) Method
In This Article
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.2.dll
NuGet Package: DevExpress.Charts
#Declaration
public int Add(
SeriesPoint childPoint,
TaskLinkType linkType
)
#Parameters
Name | Type | Description |
---|---|---|
child |
Series |
A Series |
link |
Task |
A Task |
#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