Skip to content

Commit

Permalink
Shrink chart label
Browse files Browse the repository at this point in the history
  • Loading branch information
ajuvonen committed Sep 11, 2024
1 parent ff36f3b commit ba966f1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,15 @@ export const getChartOptions = <T extends keyof ChartTypeRegistry>(
title: {
display: !!title,
color: COLORS.offWhite,
text: title,
text: title.toUpperCase(),
padding: {
top: 0,
bottom: 8,
},
align: 'start',
font: {
family: 'Nunito, sans-serif',
size: 18,
size: 12,
weight: 'normal',
style: 'normal',
},
Expand Down

0 comments on commit ba966f1

Please sign in to comment.