ISeries.asGantt
ISeries
property asGantt: IGanttSeries;
Type Library
TeeChartx
Description
The asGantt property is used by the Series Class to access Gantt Series specific properties. See Typecasting for a detailed explanation of access to Series and Function specific properties.
eg. 'TChart1.Series(x).asGantt.ConnectingPen.Width = 2'.
Example [Visual Basic]:
With TChart1.Series( 0 )
.Marks.BackColor = vbYellow
.asGantt.AddGantt DateValue("1,1,1997"), DateValue("31,1,1997"), 2, "1st"
.asGantt.AddGantt DateValue("1997,1,15"), DateValue("1997,2,15"), 1, "2nd"
End With