mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 11:26:13 +00:00
traffic widget: fix missing tooltip
This commit is contained in:
parent
9606957ef8
commit
96229a2e23
@ -158,7 +158,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
mode: 'nearest',
|
||||
intersect: false,
|
||||
callbacks: {
|
||||
label: function(tooltipItem, data) {
|
||||
label: function(context) {
|
||||
return context.dataset.label + ": " + format_field(context.dataset.data[context.dataIndex].y).toString();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user