Learn how to use Dash Bio for next-gen sequencing & quality control. 🧬Register for the Oct 27 webinar.

Accessing Histogram bin data using clientside_callback

Hi, I have a histogram plot with historical data spanning multiple years. I want to implement automatic yaxis scaling when zooming into parts of the histogram but to do that I need to know the tallest bin within the area of interest. It’s relatively easy to filter the data with xaxis.range, but I don’t know how to get binned data values from the graph. Is this possible?
Is there a graph tag that contains the size value of each bin that you can access with clientside_callback, so you can run a max bin function or similar?

Dash is calculating the values in the back end so there the values should be hiding somewhere =) It would be a shame to have to recalculate the binning and then do the xaxis filtering, just to get the optimal yaxis range.

Thanks =)