NtTimeChartControl.ScrollToPos Method
The vertical scroll range of the NtTimeChartControl covers all the rows you define to be displayed. You can always scroll across all rows with one sweep.
Meanwhile, the horizontal scroll range only covers a samll segment (e.g. a few days) of the tenthousand years that are generally covered by the control.
See Data Sheet Concept for details.
If you want to adjust the current scroll position, you should not simply set the AutoScrollPosition property inherited from
Overload List:
| Modifier / Return Value | Name and Parameters | Description |
|---|---|---|
|
|
|
Sets the scroll position to the coordinates targetX and targetY. Respects the scroll limits. |
Return value:
None.
Parameters:
Horizontal scroll position. Value between 0 and AutoScrollMinSize.Width - ClientSize.Width.
Vertical scroll position. Value between 0 and AutoScrollMinSize.Height - ClientSize.Height.
Remarks:
None.
See also:
SheetHeightSheetWidth
