wip
This commit is contained in:
1 parent
6e5889a390
commit
bb6dee7d60
2 files changed
+2
-2
No files matched your search
@@ -46,7 +46,7 @@ class ChartMovingAverageEvent extends ChartWidget
|
|||||||
tooltip: {
|
tooltip: {
|
||||||
callbacks: {
|
callbacks: {
|
||||||
label: (context) => {
|
label: (context) => {
|
||||||
return [context.parsed.y, context.dataset.events[context.dataIndex]];
|
return [' '+context.parsed.y, context.dataset.events[context.dataIndex]];
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ class ChartPunctualEvent extends ChartWidget
|
|||||||
tooltip: {
|
tooltip: {
|
||||||
callbacks: {
|
callbacks: {
|
||||||
label: (context) => {
|
label: (context) => {
|
||||||
return [context.parsed.y, context.dataset.events[context.dataIndex]];
|
return [' '+context.parsed.y, context.dataset.events[context.dataIndex]];
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user