NtTimeChartControl.CalculateSheetRightDt Method
The so called 'Sheet' is the surface the visual representation of your data objects is being painted on. You can move it around by using the horizontal and vertical scroll bars. Or you can pick the sheet with
the mouse and move it around. In other words, the sheet represents that section of the overall time range, that you can cover with one scroll sweep from left to right.
Please see the Sheet section in the Nateo Concepts Documentation for details.
When developing software along with the NtTimeChartControl, you might get into the need to calculate the time stamp of the right edge of the sheet. This
time stamp is referred to as
Overload List:
| Modifier / Return Value | Name and Parameters | Description |
|---|---|---|
|
|
|
Calculate the |
Return value:
This is the time stamp of the right edge of a potential sheet which you define by the
TimeDisplayMode, the left edge (sheetLeftDt) and the number of columns.
Parameters:
The left edge of the potential sheet.
This value defines the duration of one column: 5 Minutes, 15 Minutes, an hour, 6 hours, a day, a month. Along with the number of columns
you define the duration of the full sheet.
The number of columns of the potential sheet. Only integer values are possible.
Remarks:
When setting up a NtTimeChartControl, you should ensure that the left edge of the sheet (sheetLeftDt) always fits midnight GMT of whatever day.
See also:
