Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Timeline question - accessing visible start/end date
I am using the latest version of the Timeline object. I can adjust the slider to zoom in/out across the data, but I would like to be able to access the current values of the displayed start/stop times showing in the graph, and I don't see any way to do that. There is a selectedStartDate and selectedStop date field which are displayed at the top of the graph, but I don't see how to pick up those values.
Am I missing something simple? Is there something I can do to get those 2 values?
thanks,
nbc
You can attach a DateRangeListener to the Timeline which will receive a DateRangeChangeEvent with the values you want. The event is triggered whenever the selection in the Timeline changes.