Describe the bug
When using x or y axes with a groupId along with a RectAnnotation. If no groupId is set on the RectAnnotation it will not appear as there is no __global__ groupId fallback to determine the correct fallback height.
To Reproduce
Steps to reproduce the behavior:
- Go to https://codesandbox.io/s/cool-cookies-s8okq?file=/src/App.tsx
- Notice how toggling the
groupId on the RectAnnotation hides and shows
Expected behaviour
When no x or y axis groupId is determinable, it should fallback to the chart dimensions.
Describe the bug
When using x or y axes with a
groupIdalong with aRectAnnotation. If nogroupIdis set on theRectAnnotationit will not appear as there is no__global__groupIdfallback to determine the correct fallback height.To Reproduce
Steps to reproduce the behavior:
groupIdon theRectAnnotationhides and showsExpected behaviour
When no x or y axis
groupIdis determinable, it should fallback to the chart dimensions.