Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierZal committed Dec 6, 2024
1 parent a5638d4 commit 79e1061
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widgets/charts/public/index.mts
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,14 @@ const getChartPieOptions = (
.replace('Operation', '')
.replace('PowerOff', 'Off')
.replace('Power', 'Off')
.replace('Prevention', '')
.replace(/(?<mode>.+)Ventilation$/u, '$<mode>'),
),
legend: {
fontSize: FONT_SIZE_VERY_SMALL,
fontWeight: getStyle('--homey-font-weight-regular'),
labels: { colors: getStyle('--homey-text-color-light') },
markers: { shape: 'square', strokeWidth: 0 },
position: 'bottom',
},
series,
stroke: { show: false },
Expand Down

0 comments on commit 79e1061

Please sign in to comment.