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
This is the path taken when a groupId is applied. But when a yScaleis defined, it renders the outside only if x0 and x1 where initially undefined, this is the problem!
Describe the issue
If a
RectAnnotation
is defined without using agroupId
theoutside
prop has no affect.To Reproduce
Steps to reproduce the behavior:
groupId
on theRectAnnotation
specoutside
annotation whengroupId
is missingExpected behaviour
The
RectAnnotation
is always rendered on the outside of the chart when theoutside
prop is set totrue
.Screenshots
Version (please complete the following information):
I think this issue is original to the
outside
feature added in #1207Additional context
The code has a break branch from #842 to render annotations when we have no
yScale
.elastic-charts/packages/charts/src/chart_types/xy_chart/annotations/rect/dimensions.ts
Line 75 in ae2af1c
This is the path taken when a
groupId
is applied. But when ayScale
is defined, it renders the outside only ifx0
andx1
where initiallyundefined
, this is the problem!elastic-charts/packages/charts/src/chart_types/xy_chart/annotations/rect/dimensions.ts
Lines 129 to 134 in ae2af1c
The text was updated successfully, but these errors were encountered: