Heatmap legend with linear color scale contains duplicate 0 #1166
Labels
bug
Something isn't working
:heatmap
Heatmap/Swimlane chart related issue
Impact:High
:legend
Legend related issue
released
Issue released publicly
Projects
Describe the bug
Heatmap chart with
colorScale={ScaleType.Linear}
ends up with duplicate0
in legend items.To Reproduce
Provide a dataset with values range from 0 to N.
See https://codesandbox.io/s/damp-https-2rspz?file=/src/App.tsx
Expected behaviour
Legend doesn't contain duplicate items.
Screenshots
Kibana Cross Issues
elastic/kibana#97978
The text was updated successfully, but these errors were encountered: