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

PointElement.parsed is undefined in 3.6.0

Open Alexander3 opened this issue 3 years ago • 0 comments

Expected behavior

In v3.5.1 PointElement.parsed contains values, and you can do context.chart.getDatasetMeta(0).data[context.dataIndex].parsed.y

Current behavior

In v3.6.0 and higher versions PointElement.parsed is undefined and it is a breaking change

Reproducible sample

https://codepen.io/alexander3/pen/XWEmJGG

Optional extra steps/info to reproduce

Try switching versions and hovering on chart to show tooltip , than look into console

Possible solution

No response

Context

No response

chart.js version

v3.6.0

Browser name and version

Chrome 102.0.5005.115 64-bit on Ubuntu 20.04

Link to your project

No response

Alexander3 avatar Jul 04 '22 08:07 Alexander3