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

Allow anchoring gradients to Y values #19

Open
Panaetius opened this issue May 4, 2024 · 1 comment
Open

Allow anchoring gradients to Y values #19

Panaetius opened this issue May 4, 2024 · 1 comment

Comments

@Panaetius
Copy link

For color gradients, it would be nice if we could say what Y-axis value corresponds to 0% or 100%, so there can be fixed colors for specific values even if the chart range is different.

For example, if I have two charts side by side, one goes from 50 to 150 and the other goes from 0 to 100, but I want e.g. 88 to have the same color value in both of them. Right now you'd have to dynamically create gradients for each chart based on their range, and recalculate them every time the series signal changes.

@feral-dot-io
Copy link
Owner

feral-dot-io commented May 4, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants