I have a watch list serial chart in a dashboard. I do not want the From and To to be populated by datebar.To and datebar.From instead I want it to always be the trailing 7 days and still enable the user to zoom if desired.
So ideally it would be like:
from: datetime.datetime.now() - timedelta(days=7)
Any thoughts on how to achieve this are much appreciated.