Skip to content

Commit

Permalink
Merge pull request #11 from maciek-szn/patch-1
Browse files Browse the repository at this point in the history
Fix for tooltips not showing values
  • Loading branch information
paulo-hortelan authored Aug 11, 2024
2 parents b8b6bdd + e047d0c commit e3d30c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/livewire/requests-graph.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class="h-52 ring-1 ring-gray-900/5 dark:ring-gray-100/10 bg-gray-50 dark:bg-gray
intersect: false,
callbacks: {
beforeBody: (context) => context
.filter(item => item.formattedValue > 0)
.filter(item => item.raw > 0)
.map(item => `${item.dataset.label}: ${data.sampleRate < 1 ? '~' : ''}${item.formattedValue}`)
.join(', '),
label: () => null,
Expand Down

0 comments on commit e3d30c9

Please sign in to comment.