Skip to content

Setting small height for Donut Chart misplaces the series tooltip with large size and holeSize of the series #4666

@zstoyanova9

Description

@zstoyanova9

Description

When setting a small height for the Donut Chart (also when setting height to "auto") that has a series tooltip configured, the tooltip gets misplaced if size and/or holeSize are also set for the series.

The disrupted position of the tooltip depends on the values of the size and holeSize properties - if the values increase, the offset of the tooltip also increases, which makes it appear farther from the series. If these properties are not set (or if they are set to smaller values), the tooltip renders as expected.

Steps To Reproduce

  1. Open the following StackBlitz example - https://stackblitz.com/edit/angular-th8xrw5r
  2. Hover over the series.
  3. Observe the position of the tooltip.

Screenshots or video

Screen.Recording.2025-07-16.at.14.24.08.mov

Actual Behavior

The tooltip is misplaced and renders far from the Donut Chart series.

Expected Behavior

The tooltip should render next to the series as in other scenarios.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions