Skip to content

Commit 2cc5b10

Browse files
authored
fix(PieChart): Do not pass y accessor to use linear scale fallback (#631)
1 parent b9511e1 commit 2cc5b10

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.changeset/chubby-ties-play.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'layerchart': patch
3+
---
4+
5+
fix(PieChart): Do not pass `y` accessor to use linear scale fallback

packages/layerchart/src/lib/components/charts/PieChart.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@
392392
bind:context
393393
data={visibleData}
394394
x={value}
395-
y={key}
396395
c={key}
397396
cDomain={chartData.map(keyAccessor)}
398397
cRange={seriesColors.length

0 commit comments

Comments
 (0)