Back to Devexpress

SeriesPointCollection.AddGanttPoint(Double, TimeSpan, TimeSpan) Method

corelibraries-devexpress-dot-xtracharts-dot-seriespointcollection-dot-addganttpoint-x28-system-dot-double-system-dot-timespan-system-dot-timespan-x29.md

latest1.9 KB
Original Source

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

NuGet Package : DevExpress.Charts

Declaration

csharp
public int AddGanttPoint(
    double argument,
    TimeSpan value1,
    TimeSpan value2
)
vb
Public Function AddGanttPoint(
    argument As Double,
    value1 As TimeSpan,
    value2 As TimeSpan
) As Integer

Parameters

NameTypeDescription
argumentDouble

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

TypeDescription
Int32

The position at which the new point was inserted.

|

See Also

SeriesPointCollection Class

SeriesPointCollection Members

DevExpress.XtraCharts Namespace