-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Lens] metric bar miscolored when max is 0 #172331
Comments
Pinging @elastic/kibana-visualizations (Team:Visualizations) |
I think this is the same as #172297 😆 |
Great minds think alike! But, in #172297 the bars disappear, right? Whereas here, they're getting an incorrect palette color. You think it's still the same underlying cause? |
Are you using color ranges as percentage value? If so, does the issue go away if you set the Update: Discuss this with Drew offline and we found this to be a related but separate issue to #172297. This issue is concerning bad color scaling of max values around kibana/src/plugins/charts/public/services/palettes/helpers.ts Lines 94 to 141 in 7ad94e9
|
STR
Result: bar is green
Expected: bar is red
Screen.Recording.2023-11-30.at.3.25.18.PM.mov
The text was updated successfully, but these errors were encountered: