Skip to content

Commit 7e1ed2a

Browse files
committed
fixed tooltips not showing up
1 parent 01a4e85 commit 7e1ed2a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

public/js/script.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,9 @@ let wpmOverTimeChart = new Chart(ctx, {
11781178
options: {
11791179
tooltips: {
11801180
titleFontFamily: "Roboto Mono",
1181-
bodyFontFamily: "Roboto Mono"
1181+
bodyFontFamily: "Roboto Mono",
1182+
mode: 'x',
1183+
intersect: false
11821184
},
11831185
legend: {
11841186
display: false,

0 commit comments

Comments
 (0)