Brush
component ignores passed startIndex
/ endIndex
params in Charts with syncId
#4163
Open
1 task done
Labels
bug
General bug label
Reproduction link
Steps to reproduce
Top and bottom charts are synced.
Drag the top (blue) brush to change its range:
New
startIndex
/endIndex
params are saved in the state and passed to the bottom (green) brush component.Even though new
startIndex
/endIndex
params are passed, nothing happens.The previous range is still displayed on the bottom (green) brush.
What is expected?
All brushes in synced charts need to be updated when one of them changes.
Or make sure that
Brush
component respects passedstartIndex
/endIndex
params and updates whenstartIndex
orendIndex
changesWhat is actually happening?
startIndex
/endIndex
values are ignored. Previous range is displayed in the second brush. Brushes are out of sync.Related:
#3027
The text was updated successfully, but these errors were encountered: