We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ae3476 commit fa12a9cCopy full SHA for fa12a9c
2 files changed
.changeset/lazy-taxis-hang.md
@@ -0,0 +1,5 @@
1
+---
2
+'layerchart': patch
3
4
+
5
+feat(BarChart): Pass derived scales (x1, y1) to slots props. Useful for custom labels with group series layout
packages/layerchart/src/lib/components/charts/BarChart.svelte
@@ -329,8 +329,12 @@
329
bind:tooltipContext
330
let:x
331
let:xScale
332
+ let:x1
333
+ let:x1Scale
334
+ let:y1
335
let:y
336
let:yScale
337
+ let:y1Scale
338
let:c
339
let:cScale
340
let:width
@@ -341,8 +345,12 @@
341
345
{@const slotProps = {
342
346
x,
343
347
xScale,
348
+ x1,
349
+ x1Scale,
344
350
y,
351
yScale,
352
+ y1,
353
+ y1Scale,
354
c,
355
cScale,
356
width,
0 commit comments