Change tooltip to have value after colon, not in parens

This commit is contained in:
2023-11-21 08:22:53 -06:00
parent 2ef118a433
commit b8be374a01

View File

@ -62,7 +62,7 @@ export const options = {
{ {
if(context.dataset.label.startsWith(context.label)) if(context.dataset.label.startsWith(context.label))
{ {
return `${context.label} (${context.formattedValue})`; return `${context.label}: ${context.formattedValue}`;
} }
else else
{ {