chartjs / chartjs/Chart.js

PointElement.parsed is undefined in 3.6.0

Open
#10,464 0 comments 0 reactions 0 assignees View on GitHub
type: bug
Dominant language
JavaScript
Stars
67.7k
Forks
11.9k
Avg merge
7h 39m
Merged PRs (30d)
5

Description

### 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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.