portfolio
portfolio copied to clipboard
Tooltip is cut off on the right for small diagrams
trafficstars
Describe the bug When using a diagram in multi-row dashboard with smaller columns than the actual tooltip width, the tooltip popover is cut off for the right most aligned diagram.
To Reproduce
- Create 4-column dashboard.
- Insert diagram widget on right most column.
- Click-hover over diagram to show tooltip.
- Observe tooltip is cut off
Expected behavior Change alignment of tooltip to "right of diagram window", dependent on cursor position on the x-axis within the respective diagram (and possibly only if diagram width is smaller than tooltip popover width). Similar to the already implemented function for tooltip position when click-moving cursor on y-axis within the diagram.
Screenshots

Desktop (please complete the following information):
- OS: macOS 12.3.1
- Version 0.57.0