From this GitHub issue:
I solved this getting the start date that is showing in the visualization and the end date, then i calculated the days between that dates. Depending of the amount of days between, i change the time format for the axis label.
This is a lot of useful for me because i'm zoom-in and zoom-out through this chart and when i zoom-in i need to know more info about the date and when i zoom-out i need to know less info about the date.
I hope that this will be useful for other people.
How can this be done? Specifically, I don't know how to get the start date and end date from an interactive plot.
https://stackoverflow.com/questions/65866212/select-visible-data January 24, 2021 at 09:06AM
没有评论:
发表评论