Skip to content

Commit 353d8ed

Browse files
fix: add back in fixing scales in bank/cu axes
1 parent 7376ba7 commit 353d8ed

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/features/Overview/SlotPerformance/ComputeUnitsCard/CuChart.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ export default function CuChart({
226226
return ticks.map((rawValue) => rawValue / 1_000_000 + "ms");
227227
},
228228
space: 100,
229+
scale: banksXScaleKey,
229230
},
230231
{
231232
scale: computeUnitsScaleKey,

src/features/Overview/SlotPerformance/TransactionBarsCard/BarsChart.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export default function BarsChart({
9999
scales: { [banksXScaleKey]: { time: false } },
100100
axes: [
101101
{
102+
scale: banksXScaleKey,
102103
stroke: chartAxisColor,
103104
values: (self, ticks) => {
104105
return isFirstOrLastChart

0 commit comments

Comments
 (0)