Skip to content

Commit

Permalink
Fix card graphs.
Browse files Browse the repository at this point in the history
  • Loading branch information
fniessink committed Sep 19, 2024
1 parent 480719e commit 25f051f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/frontend/src/dashboard/MetricSummaryCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function MetricSummaryCard({ header, onClick, selected, summary, maxY })
)
const dates = Object.keys(summary)
const bbWidth = boundingBox.width ?? 0
const bbHeight = bbWidth // Charts are round (pie chart) or square (bar chart)
const bbHeight = boundingBox.height ?? 0
const label = (
<VictoryPortal x={bbWidth / 2} y={bbHeight / 2}>
<VictoryLabel
Expand Down

0 comments on commit 25f051f

Please sign in to comment.