Skip to content

Commit

Permalink
fix: reserved digits for the length of the contributor bar (#861)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyantong2000 authored Aug 20, 2024
1 parent f35de8a commit cb9c085
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
},
},
],
Expand Down

0 comments on commit cb9c085

Please sign in to comment.