Describe the issue
If you have a histogram bars chart with allowBrushingLastHistogramBin disabled, when you go to brush the last bucket it gives you bad start value.
To Reproduce
Steps to reproduce the behavior:
- Go to story
- Disable the
allowBrushingLastHistogramBin
- Brush the last bar such that the start and end of the brush is on the last bar
- Notice the starting value is greater than the end as the end is rounded to the max value.

Expected behaviour
It should round both the start and end brush coordinates to the last bucket value. In the example above this would be [5, 5].
Version (please complete the following information):
Additional context
This is likely a rare use case as the allowBrushingLastHistogramBin option defaults to true
Describe the issue
If you have a histogram bars chart with
allowBrushingLastHistogramBindisabled, when you go to brush the last bucket it gives you bad start value.To Reproduce
Steps to reproduce the behavior:
allowBrushingLastHistogramBinExpected behaviour
It should round both the start and end brush coordinates to the last bucket value. In the example above this would be
[5, 5].Version (please complete the following information):
latestAdditional context
This is likely a rare use case as the
allowBrushingLastHistogramBinoption defaults totrue