Skip to content

Multi Series Pie/Doughnut tooltips' titles all show first dataset's label #11961

@jezmck

Description

@jezmck

Expected behavior

Each tooltip should show the relevant dataset's label.

Current behavior

The tooltips' titles all show the label from the first dataset.

NB: See also the official example at https://www.chartjs.org/docs/latest/samples/other-charts/multi-series-pie.html which demonstrates this behaviour.

Reproducible sample

https://codepen.io/jezmck/pen/wvVLYXP

Optional extra steps/info to reproduce

No response

Possible solution

No response

Context

No response

chart.js version

v4.4.6

Browser name and version

Chrome Latest

Link to your project

No response

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