Skip to main content

SeriesPointCollection.AddGanttPoint(DateTime, TimeSpan, TimeSpan) 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.1.dll

NuGet Package: DevExpress.Charts

Declaration

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

Parameters

Name Type Description
argument DateTime

The newly added series point’s argument.

value1 TimeSpan

The newly added series point’s first value.

value2 TimeSpan

The newly added series point’s second value.

Returns

Type Description
Int32

The position at which the new point was inserted.

See Also