-
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Currently you can use this workaround
<BarChart {data} x="date" y="value">
<svelte:fragment slot="marks" let:xScale>
{@const barWidth = 10}
{@const xShift = xScale.bandwidth() / 2 - barWidth / 2}
<Group x={xShift}>
<Bars radius={5} strokeWidth={0} width={barWidth} />
</Group>
</svelte:fragment>
</BarChart><BarChart {data} x="date" y="value">
{#snippet marks({ context })}
{@const barWidth = 10}
{@const xShift = context.xScale.bandwidth() / 2 - barWidth / 2}
<Group x={xShift}>
<Bars radius={5} strokeWidth={0} width={barWidth} />
</Group>
{/snippet}
</BarChart>Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Todo