Skip to content

Commit 3730c28

Browse files
committed
numberOfRows -> numberOfPositionCharts
1 parent 27915e1 commit 3730c28

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/lib/components/data-vis/position-chart/PositionChart.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
showAxis = true,
1212
chartWidth = $bindable(500),
1313
stacked = false,
14-
numberOfRows = 1,
14+
numberOfPositionCharts = 1,
1515
chartHeight = 24,
1616
} = $props();
1717
@@ -47,7 +47,7 @@
4747
<div
4848
class={label ? "grid-container" : "chart-and-axis"}
4949
class:stacked={stacked === true}
50-
style=" --rows: {numberOfRows + 1};"
50+
style=" --rows: {numberOfPositionCharts + 1};"
5151
>
5252
{#if label}
5353
<p class="label">{label}</p>

src/wrappers/components/data-vis/position-chart/position-chart/Examples.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
max="10"
9393
label={item[0]}
9494
stacked={true}
95-
numberOfRows={dummyData.length}
95+
numberOfPositionCharts={dummyData.length}
9696
showAxis={false}
9797
></PositionChart>
9898
{/each}

src/wrappers/components/data-vis/position-chart/position-chart/codeBlocks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const codeBlock3 = `
3535
max="10"
3636
label={item[0]}
3737
stacked={true}
38-
numberOfRows={dummyData.length}
38+
numberOfPositionCharts={dummyData.length}
3939
showAxis={false}
4040
></PositionChart>
4141
{/each}

0 commit comments

Comments
 (0)