Skip to content

Custom timestamp labels

TIP

If you want to modify how many timestamps are displayed, see: Custom timestamp intervals

0
10000
20000
30000
40000
50000

Code

vue
<template>
  <Timeline
    :groups="[{id: '1'}, {id: '2'}]"
    :viewportMin="0"
    :viewportMax="8000"
    :renderTimestampLabel="(timestamp, scale) => timestamp"
  />
</template>