Open eusonlito opened 1 month ago
Dot position in scatter type dataset should be always at same place.
After adding { scales: { y: {} } } to options, the point related to the scatter data set is moved from its correct position.
{ scales: { y: {} } }
options
scatter
Without y scale defined:
y
With y scale defined:
https://codepen.io/eusonlito/pen/xxNwZPN
No response
I'm trying to remove the y scale to scatter type, but after added { scales: { y: { display: false } } } to options the dot is displaced.
{ scales: { y: { display: false } } }
v4.4.3
Google Chrome Version 126.0.6478.7 (Official Build) beta (64-bit)
https://github.com/eusonlito/crypto
Expected behavior
Dot position in scatter type dataset should be always at same place.
Current behavior
After adding
{ scales: { y: {} } }
tooptions
, the point related to thescatter
data set is moved from its correct position.Without
y
scale defined:With
y
scale defined:Reproducible sample
https://codepen.io/eusonlito/pen/xxNwZPN
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
I'm trying to remove the
y
scale toscatter
type, but after added{ scales: { y: { display: false } } }
tooptions
the dot is displaced.chart.js version
v4.4.3
Browser name and version
Google Chrome Version 126.0.6478.7 (Official Build) beta (64-bit)
Link to your project
https://github.com/eusonlito/crypto