mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Show tooltip of bar graphs below x-axis
Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
@@ -639,9 +639,11 @@ $(() => {
|
||||
display: false,
|
||||
},
|
||||
tooltip: {
|
||||
enabled: true,
|
||||
// Disable the on-canvas tooltip
|
||||
enabled: false,
|
||||
intersect: false,
|
||||
yAlign: "bottom",
|
||||
external: customTooltips,
|
||||
yAlign: "top",
|
||||
itemSort(a, b) {
|
||||
return b.datasetIndex - a.datasetIndex;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user