Skip to content

Commit

Permalink
fix(VBarline): properly show bars when not using autoDraw
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Feb 20, 2024
1 parent 1f3cd4e commit 21861e0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/vuetify/src/labs/VSparkline/VBarline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,12 @@ export const VBarline = genericComponent<VBarlineSlots>()({
{
bars.value.map(item => (
<rect
x={ item.x + offsetX.value }
y={ item.y + item.height }
width={ lineWidth.value }
height="0"
rx={ typeof props.smooth === 'number' ? props.smooth : props.smooth ? 2 : 0 }
ry={ typeof props.smooth === 'number' ? props.smooth : props.smooth ? 2 : 0 }
x={ item.x + offsetX.value }
y={ item.y }
width={ lineWidth.value }
height={ item.height }
rx={ typeof props.smooth === 'number' ? props.smooth : props.smooth ? 2 : 0 }
ry={ typeof props.smooth === 'number' ? props.smooth : props.smooth ? 2 : 0 }
>
{ props.autoDraw && (
<>
Expand Down

0 comments on commit 21861e0

Please sign in to comment.