Skip to content

Commit 6fbd578

Browse files
authored
Merge pull request #13779 from ethereum/rotateEnergyConsumptionLabels
rotate energy consumption labels
2 parents 911854f + 3e80343 commit 6fbd578

File tree

1 file changed

+4
-3
lines changed
  • src/components/EnergyConsumptionChart

1 file changed

+4
-3
lines changed

src/components/EnergyConsumptionChart/index.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,10 @@ const EnergyConsumptionChart = () => {
212212
font: {
213213
size: 10,
214214
},
215-
autoSkip: false, // avoid long labels to be hidden
216-
padding: 0, // removes default padding betwen x-labels and chart
217-
maxRotation: 0, // turns off rotation
215+
autoSkip: false,
216+
padding: 0,
217+
maxRotation: 0,
218+
minRotation: 45,
218219
},
219220
},
220221
},

0 commit comments

Comments
 (0)