-
Notifications
You must be signed in to change notification settings - Fork 358
Description
Using the latest version, 7.4.6.
When the selected date range ends with a date today or later, I want to be in rollingMode because the user experience makes a lot of sense, but if I select a date range in the past, I need to goto that range and display the data for those dates. Using setWindow to those new dates doesn't work, but neither does turning off rolling mode with setOptions, then calling setWindow. I also tried toggleRollingMode and that doesn't seem to work either.
Might be important to state that rollingMode works great when in the original options object, but seems unchangable after that.
I'm using cluster incase that makes a difference:
const options = { rollingMode: { follow: true, offset: 0.98, }, ... }
I want to dynamically turn off rollingMode.
instance.setOptions({ rollingMode: { follow: false, offset: 0.98, }, });
Let me know if theres anything else that would help to know!
Thanks for an incredibly library, this saved me enormous amounts of work, its too bad that both of the react wrappers are outdated and broken.
Cheers,
Adam