design-system icon indicating copy to clipboard operation
design-system copied to clipboard

Timeline zoom configurable

Open c9qsm62x opened this issue 3 years ago • 4 comments

Description

Would it be possible to set the max and min level of zoom. Backend system may not be able query data for 5 years or performance could be hit when query that much that from a BE system.

Let me know if you need any more info.

c9qsm62x avatar Jun 16 '21 10:06 c9qsm62x

There are two options.

1. Max/min

As suggested

2. Array of options

Example if you didn't want five year:

const options = [
  'hour',
  'quarter_day',
  'day',
  'week',
  'month',
  'year',
]

thyhjwb6 avatar Jun 17 '21 08:06 thyhjwb6

Im leaning towards the array option :)

c9qsm62x avatar Jul 05 '21 15:07 c9qsm62x

This issue has been marked as stale because it has been open for 60 days with no activity

github-actions[bot] avatar Sep 06 '21 02:09 github-actions[bot]

This issue has been marked as stale because it has been open for 60 days with no activity

github-actions[bot] avatar Nov 08 '21 01:11 github-actions[bot]