Skip to main content

SeriesPointCollection.AddGanttPoint(TimeSpan, DateTime, DateTime) Method

Adds a point with the specified argument and values required to plot a series with a Gantt series view.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

NuGet Package: DevExpress.Charts

#Declaration

public int AddGanttPoint(
    TimeSpan argument,
    DateTime value1,
    DateTime value2
)

#Parameters

Name Type Description
argument TimeSpan

The newly added series point’s argument.

value1 DateTime

The newly added series point’s first value.

value2 DateTime

The newly added series point’s second value.

#Returns

Type Description
Int32

The position at which the new point was inserted.

See Also