You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found in <LegendThreshold /> that if you have the domain array of scaleThreshold start with a 1 the "Less than 1" rect doesn't color correctly. While testing it I also found that if you have only two negative items in the domain array you can end up with the same color in the middle legend item and the "more than" legend item.
Hi y'all,
I found in
<LegendThreshold />
that if you have the domain array ofscaleThreshold
start with a 1 the "Less than 1"rect
doesn't color correctly. While testing it I also found that if you have only two negative items in the domain array you can end up with the same color in the middle legend item and the "more than" legend item.You can see it in action here: https://codesandbox.io/p/sandbox/determined-sanne-4j7x4y?file=%2Fsrc%2FApp.js%3A11%2C20
I have a fix if you would like me to make a PR on it.
The text was updated successfully, but these errors were encountered: