Chart.js icon indicating copy to clipboard operation
Chart.js copied to clipboard

Tooltips in Radar chart does not show properly when dataset values are 0 on multiple axes

Open smitpsanghavi opened this issue 7 years ago • 1 comments

Expected Behavior

Tooltips should be combined on the origin of Radar in tooltip 'index' mode for all axes

Current Behavior

There is no combined Tooltip for overlapping points on origin of the Radar for all axes. There is one tooltip per axis. If there are multiple datasets with 0 (zero) values on 2 or more axes, then it becomes very difficult to see the tooltip values of all the axes.

Steps to Reproduce (for bugs)

Codepen

Try to see the tooltip for Axis 1, Axis 2 and Axis 3 on the origin.

Environment

  • Chart.js version: 2.8.0
  • Browser name and version: Google Chrome 76.0.3809.100 (Official Build) (64-bit)

smitpsanghavi avatar Aug 12 '19 06:08 smitpsanghavi

mode: 'nearest' + intersect: true is probably what you want https://codepen.io/etimberg/pen/NWxKKRV

etimberg avatar May 31 '20 20:05 etimberg