rerun-io / rerun

Visualize streams of multimodal data. Fast, easy to use, and simple to integrate. Built in Rust using egui.
https://rerun.io/
Apache License 2.0
6.33k stars 302 forks source link

Allow specifying horizontal range of barchart #6265

Open mvarble opened 5 months ago

mvarble commented 5 months ago

Currently, the bar chart only tracks the heights of the bins and not the "edges" of each bin. An unfortunate downside of this is that when I have a distribution of scalar data that I would like to view in a histogram, I have no idea where the mean is. Consider an animation like below, where the number of bins stays constant, but the mean moves.

example

I believe animations such as this could be achieved by extending the BarChart component to have edges and the BarChart blueprint to have view bounds.

Wumpf commented 5 months ago

Very related (aaaalmost duplicate) to:

mvarble commented 5 months ago

Very related (aaaalmost duplicate) to:

* [Allow to specify boundaries for BarChart #4764](https://github.com/rerun-io/rerun/issues/4764)

Gah, I am sorry for spam. I must have searched histogram or some other related term that didn't cause a match.

Wumpf commented 4 months ago

no worries tickets are super hard to navigate and I'm keeping this open since it's actually a bit of a different aspect