Skip to content

Commit

Permalink
cortex prime: add % to tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
HighDiceRoller committed Nov 13, 2023
1 parent f8f9c21 commit 9f64018
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions apps/cortex_prime.html
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,13 @@ <h2>Hitches</h2>
size: 36,
},
},
tooltip: {
callbacks: {
label: function(tooltipItem) {
return Chart.defaults.plugins.tooltip.callbacks.label(tooltipItem) + '%';
},
},
},
},
},
});
Expand Down

0 comments on commit 9f64018

Please sign in to comment.