Skip to content

Commit

Permalink
fix: cwv perf tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
kptdobe committed Jan 16, 2025
1 parent 4717beb commit 7b51730
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/oversight/charts/cwvperf.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ export default class CWVPerfChart extends AbstractChart {
color: 'white',
},
tooltip: {
intersect: false,
callbacks: {
label: (context) => {
const value = context.parsed.y;
Expand All @@ -143,7 +144,8 @@ export default class CWVPerfChart extends AbstractChart {
},
},
interaction: {
mode: 'x',
mode: 'nearest',
axis: 'x',
},
animation: {
duration: 300,
Expand Down

0 comments on commit 7b51730

Please sign in to comment.