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
By default, Plot positions tooltips automatically, changing the anchor so that the tooltip always remains within the canvas.
The tooltip is always positioned in the center of the element it is attached to.
In some cases, it is desired that the position of the tooltip has an offset. However, because the anchor is changing depending where the tooltip is rendered, offset values dy and dx can't be used statically, as this value would need to be positive, negative or 0 depending on the anchor position.
The example below illustrates how the tooltip is overlapping the text of a data point.
In some cases the tooltip would need to be moved up/down or left / right.
An additional parameter dOffset would be handy for dynamic positioning.
The parameters anchor and dy/dx can't be functions, therefor it is impossible to adjust these values at the moment.
The text was updated successfully, but these errors were encountered:
By default, Plot positions tooltips automatically, changing the anchor so that the tooltip always remains within the canvas.
The tooltip is always positioned in the center of the element it is attached to.
In some cases, it is desired that the position of the tooltip has an offset. However, because the anchor is changing depending where the tooltip is rendered, offset values
dy
anddx
can't be used statically, as this value would need to be positive, negative or 0 depending on the anchor position.The example below illustrates how the tooltip is overlapping the text of a data point.
In some cases the tooltip would need to be moved up/down or left / right.
An additional parameter
dOffset
would be handy for dynamic positioning.The parameters anchor and dy/dx can't be functions, therefor it is impossible to adjust these values at the moment.
The text was updated successfully, but these errors were encountered: