Skip to content

scrollToTimestamp(timestamp, animationDuration?)

scrollToTimestamp scroll the right side of the chart to the specified timestamp.

Reference

typescript
(timestamp: number, animationDuration?: number) => void

Parameters

  • timestamp Timestamp.
  • animationDuration Animation duration. If it is less than or equal to 0, there is no animation.

Returns

scrollToTimestamp returns undefined .

Usage

Basic usage