Skip to content
Main Navigation Guide
Chart API
Instance API
ProPreviewCustomizeSponsor
9.x Docs
8.x Docs

🇬🇧 English

🇨🇳 简体中文

🇬🇧 English

🇨🇳 简体中文

Appearance

Sidebar Navigation

getDom

getSize

setStyles

getStyles

setFormatter

getFormatter

setLocale

getLocale

setTimezone

getTimezone

setThousandsSeparator

getThousandsSeparator

setDecimalFold

getDecimalFold

setOffsetRightDistance

getOffsetRightDistance

setMaxOffsetLeftDistance

setMaxOffsetRightDistance

setLeftMinVisibleBarCount

setRightMinVisibleBarCount

setBarSpace

getBarSpace

setSymbol

getSymbol

setPeriod

getPeriod

setDataLoader

resetData

getDataList

getVisibleRange

createIndicator

overrideIndicator

getIndicators

removeIndicator

createOverlay

overrideOverlay

getOverlays

removeOverlay

setPaneOptions

getPaneOptions

setZoomEnabled

isZoomEnabled

setScrollEnabled

isScrollEnabled

scrollByDistance

scrollToRealTime

scrollToDataIndex

scrollToTimestamp

zoomAtCoordinate

zoomAtDataIndex

zoomAtTimestamp

convertToPixel

convertFromPixel

executeAction

subscribeAction

unsubscribeAction

getConvertPictureUrl

resize

On this page

zoomAtTimestamp(scale, timestamp, animationDuration?) ​

zoomAtTimestamp zoom to the specified timestamp.

Reference ​

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

Parameters ​

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

Returns ​

zoomAtTimestamp returns undefined .

Usage ​

Basic usage ​

Edit this page on GitHub

Last updated:

Pager
Previous pagezoomAtDataIndex
Next pageconvertToPixel

Released under the Apache License V2.

Copyright © 2018-2025 liihuu