Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

performance and correctness fixes to brushable histogram #1390

Merged
merged 1 commit into from
Apr 14, 2020

Conversation

bkmartinjr
Copy link
Contributor

This PR fixes two issues:

  • rendering performance of continuous histograms was very slow due to poor state management in the component. This caused excessive re-rendering of every histogram when any histogram state changed.
  • there was a edge case where the highest value in a continuous range was not selectable

Fixes #1326
Fixes #1389

continuousSelectionRange: state.continuousSelection[myName],
colorAccessor: state.colors.colorAccessor
isColorAccessor: state.colors.colorAccessor === field,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@bkmartinjr bkmartinjr merged commit a3df1a9 into master Apr 14, 2020
@bkmartinjr bkmartinjr deleted the bkmartinjr/1326-slow-continuous branch April 14, 2020 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants