design-system
design-system copied to clipboard
Timeline zoom configurable
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.
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',
]
Im leaning towards the array option :)
This issue has been marked as stale because it has been open for 60 days with no activity
This issue has been marked as stale because it has been open for 60 days with no activity