NtTimeChartControl.Init Method
To set up the NtTimeChartControl, you call this method. Typically this takes place in the
Overload List:
| Modifier / Return Value | Name and Parameters | Description |
|---|---|---|
|
|
|
Initializes the NtTimeChartControl. |
Return value:
None.
Parameters:
The number of columns you want the Time Chart to have.
For example: Suppose you create a NtTimeChartControl that is 1200 pixels wide and you want one day (24 hours) to exactly fit into this visible area.
Then you could set the TimeDisplayMode to
The width of each column you want the Time Chart to have.
The meaning of a column like hours, days etc. See the enum TimeDisplayMode for possible values.
Remarks:
The columns of the Time Chart do not always have exactly the same width: Imagine you set up the control to display one day per column. Then the days that contain daylight saving time switches are a little
wider or more narrow than the others due to the additional or missing hour.
It is recommended to read the Initialization Concept for more explanation.
See also:
