svelteplot 0.10.3-pr-488.0 → 0.10.3-pr-488.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/marks/BarX.svelte
CHANGED
|
@@ -109,7 +109,8 @@
|
|
|
109
109
|
<RectPath
|
|
110
110
|
{usedScales}
|
|
111
111
|
class={className}
|
|
112
|
-
options={options as BaseRectMarkProps<DataRecord> &
|
|
112
|
+
options={options as BaseRectMarkProps<DataRecord> &
|
|
113
|
+
BaseMarkProps<DataRecord>}
|
|
113
114
|
datum={d}
|
|
114
115
|
x={minx}
|
|
115
116
|
useInsetAsFallbackHorizontally={false}
|
package/dist/marks/RuleX.svelte
CHANGED
|
@@ -52,13 +52,12 @@
|
|
|
52
52
|
});
|
|
53
53
|
|
|
54
54
|
const plot = usePlot();
|
|
55
|
-
const args = $derived(
|
|
55
|
+
const args = $derived(
|
|
56
|
+
recordizeX({ data: data as DataRow[], ...options }, { withIndex: false })
|
|
57
|
+
);
|
|
56
58
|
</script>
|
|
57
59
|
|
|
58
|
-
<Mark
|
|
59
|
-
type="ruleX"
|
|
60
|
-
channels={['x', 'y1', 'y2', 'stroke', 'opacity', 'strokeOpacity']}
|
|
61
|
-
{...args}>
|
|
60
|
+
<Mark type="ruleX" channels={['x', 'y1', 'y2', 'stroke', 'opacity', 'strokeOpacity']} {...args}>
|
|
62
61
|
{#snippet children({ mark, scaledData, usedScales })}
|
|
63
62
|
{#if canvas}
|
|
64
63
|
<RuleCanvas
|
package/dist/marks/RuleY.svelte
CHANGED
|
@@ -52,13 +52,12 @@
|
|
|
52
52
|
});
|
|
53
53
|
|
|
54
54
|
const plot = usePlot();
|
|
55
|
-
const args = $derived(
|
|
55
|
+
const args = $derived(
|
|
56
|
+
recordizeY({ data: data as DataRow[], ...options }, { withIndex: false })
|
|
57
|
+
);
|
|
56
58
|
</script>
|
|
57
59
|
|
|
58
|
-
<Mark
|
|
59
|
-
type="ruleY"
|
|
60
|
-
channels={['y', 'x1', 'x2', 'stroke', 'opacity', 'strokeOpacity']}
|
|
61
|
-
{...args}>
|
|
60
|
+
<Mark type="ruleY" channels={['y', 'x1', 'x2', 'stroke', 'opacity', 'strokeOpacity']} {...args}>
|
|
62
61
|
{#snippet children({ scaledData, usedScales })}
|
|
63
62
|
{#if canvas}
|
|
64
63
|
<RuleCanvas
|