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

Change chart values based on slider min/max #16

Open
Jakidxav opened this issue Jun 5, 2024 · 0 comments
Open

Change chart values based on slider min/max #16

Jakidxav opened this issue Jun 5, 2024 · 0 comments
Labels
enhancement New feature or request front-end

Comments

@Jakidxav
Copy link
Collaborator

Jakidxav commented Jun 5, 2024

It would be nice to be able to dynamically change the min / max bounds of the x-axis on the bar chart with the slider that controls the colormap min / max when the <RegionPicker /> component is in use.

This isn't that hard to do, but one big problem is that the colormap slider doesn't actually remove values from the map. Instead, it hides them (for sequential colormaps) or changes their color (for diverging colormaps). This can be verified by using the <RegionPicker /> while changing the slider values.

So we either would need to be able to change / remove values from the raster itself or somehow rebin the existing raster values based on the min / max values from the slider.

@Jakidxav Jakidxav added enhancement New feature or request front-end labels Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request front-end
Projects
None yet
Development

No branches or pull requests

1 participant