Back to Devexpress

SeriesPointCollection.AddGanttPoint(String, DateTime, DateTime) Method

corelibraries-devexpress-dot-xtracharts-dot-seriespointcollection-dot-addganttpoint-x28-system-dot-string-system-dot-datetime-system-dot-datetime-x29.md

latest1.9 KB
Original Source

SeriesPointCollection.AddGanttPoint(String, 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.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public int AddGanttPoint(
    string argument,
    DateTime value1,
    DateTime value2
)
vb
Public Function AddGanttPoint(
    argument As String,
    value1 As Date,
    value2 As Date
) As Integer

Parameters

NameTypeDescription
argumentString

The argument of the newly added series point.

| | value1 | DateTime |

The first value of the newly added series point.

| | value2 | DateTime |

The second value of the newly added series point.

|

Returns

TypeDescription
Int32

The position at which the new element was inserted.

|

See Also

SeriesPointCollection Class

SeriesPointCollection Members

DevExpress.XtraCharts Namespace