Snap to points in Chart

This commit is contained in:
P43YM
2025-02-28 19:20:42 +03:00
parent 7c2059d7c6
commit b7334b5f3e

View File

@@ -1053,6 +1053,16 @@
},
options: {
responsive: true,
interaction: {
mode: 'nearest', // Подтягиваемся к точкам
intersect: false
},
plugins: {
tooltip: {
enabled: true,
position: 'nearest',
}
},
scales: {
x: {
display: true,