mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-07 23:58:44 +05:00
Snap to points in Chart
This commit is contained in:
1 parent
7c2059d7c6
commit
b7334b5f3e
1 file changed
+10
@@ -1053,6 +1053,16 @@
|
||||
},
|
||||
options: {
|
||||
responsive: true,
|
||||
interaction: {
|
||||
mode: 'nearest', // Подтягиваемся к точкам
|
||||
intersect: false
|
||||
},
|
||||
plugins: {
|
||||
tooltip: {
|
||||
enabled: true,
|
||||
position: 'nearest',
|
||||
}
|
||||
},
|
||||
scales: {
|
||||
x: {
|
||||
display: true,
|
||||
|
||||
Reference in new issue
Block a user