Skip to content

Commit

Permalink
chore: same order for config for different charts
Browse files Browse the repository at this point in the history
  • Loading branch information
joao-conde committed Nov 24, 2024
1 parent 630ee8c commit 3742f66
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/widgets/charts/weights-chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ type WeightsChartOptions = {
export class WeightsChart extends LineChart {
private static SCALES: LineChartScales = {
x: {
title: {
display: true,
text: "Date",
},
type: "time",
time: {
unit: "day",
Expand All @@ -16,10 +20,6 @@ export class WeightsChart extends LineChart {
day: "DD/MM/YYYY",
},
},
title: {
display: true,
text: "Date",
},
},
y: {
title: {
Expand Down

0 comments on commit 3742f66

Please sign in to comment.