Customize Time Range in dashboard


I’m trying to implement “customise time range in dashboard option” as in pic below. I’m using 2 time ranges: 30 days time range for 1 viz and 1 year for another visualization.

But this option is not available in Opensearch.

Any setting to enable this? or any alternative?