Skip to content

[charts] Scatter tooltipt highlight #17580

Open
@oliviertassinari

Description

@oliviertassinari

Steps to reproduce

Steps:

  1. Open https://mui.com/x/react-charts/scatter/#basics
  2. Hover a point

Current behavior

I have no idea which point the tooltip is about:

Image

Expected behavior

There seem to be a couple of different ways to solve this problem:

Screen.Recording.2025-04-28.at.01.44.31.mov
Screen.Recording.2025-04-28.at.01.45.31.mov
Screen.Recording.2025-04-28.at.01.48.10.mov

Context

It's related to #9231 on the tooltip UX.

This demo is already better: https://mui.com/x/react-charts/scatter/#click-event. It has:

      highlightScope: {
        highlight: 'item',
      },

this is closer to the default behavior that I would expect. Changing the default value could be a quick-win.

Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: -

Metadata

Metadata

Assignees

Labels

bug 🐛Something doesn't workcomponent: chartsThis is the name of the generic UI component, not the React module!designThis is about UI or UX design, please involve a designer

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions