diff --git a/src/pages/ContentScripts/features/repo-activity-racing-bar/data.ts b/src/pages/ContentScripts/features/repo-activity-racing-bar/data.ts index 64bb22f9..f31ebdfc 100644 --- a/src/pages/ContentScripts/features/repo-activity-racing-bar/data.ts +++ b/src/pages/ContentScripts/features/repo-activity-racing-bar/data.ts @@ -154,11 +154,13 @@ export const getOption = async ( }, label: { show: true, - precision: 1, position: 'right', valueAnimation: true, fontFamily: 'monospace', color: theme === 'light' ? undefined : DARK_TEXT_COLOR, + formatter: function (params: any) { + return params.data.value[1].toFixed(2); + }, }, }, ],