Re-position chart annotation when it is near the border #1040
Labels
:annotation
Annotation (line, rect, text) related issue
bug
Something isn't working
released
Issue released publicly
Is your feature request related to a problem? Please describe.
The date label of the event rate chart in the ML revert model snapshot flyout does not look ideal when it is near the border of the chart:
See codesandbox repro here https://codesandbox.io/s/sad-pond-n2pqh?file=/src/App.tsx
Describe the solution you'd like
Leave the small arrow where it is but re-position the text such that it is better readable / does not contain so many line breaks.
Additional context
In a slack discussion, it was suggested to reuse tooltip functionality to do this.
The text was updated successfully, but these errors were encountered: