Skip to content

Tooltips with dataset mode are not correctly shown #7990

@stockiNail

Description

@stockiNail

Expected Behavior

When the tooltip is shown and the dataset mode has been, I'm excepting to have the datset label in the title, and in the body all labels and their relative values.

Current Behavior

Using the CHART.JS samples (https://www.chartjs.org/samples/master/tooltips/interactions.html). I see the following:

Tooltip3

where:

  • title is JANUARY (even if I'm hovering on April) but it' should be the dataset label My First dataset
  • the BODY has got the dataset label instead of the data label.

Steps to Reproduce

I haven't created any test case because it can be reproduced using the CHART.JS sample (https://www.chartjs.org/samples/master/tooltips/interactions.html)

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions