layerchart 1.0.8 → 1.0.10
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.
|
@@ -303,19 +303,23 @@
|
|
|
303
303
|
</slot>
|
|
304
304
|
|
|
305
305
|
<slot name="markerMid" id={markerMidId}>
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
306
|
+
{#if markerMid}
|
|
307
|
+
<Marker
|
|
308
|
+
id={markerMidId}
|
|
309
|
+
type={typeof markerMid === 'string' ? markerMid : undefined}
|
|
310
|
+
{...typeof markerMid === 'object' ? markerMid : null}
|
|
311
|
+
/>
|
|
312
|
+
{/if}
|
|
311
313
|
</slot>
|
|
312
314
|
|
|
313
315
|
<slot name="markerEnd" id={markerEndId}>
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
316
|
+
{#if markerEnd}
|
|
317
|
+
<Marker
|
|
318
|
+
id={markerEndId}
|
|
319
|
+
type={typeof markerEnd === 'string' ? markerEnd : undefined}
|
|
320
|
+
{...typeof markerEnd === 'object' ? markerEnd : null}
|
|
321
|
+
/>
|
|
322
|
+
{/if}
|
|
319
323
|
</slot>
|
|
320
324
|
|
|
321
325
|
{#if $$slots.start && $startPoint}
|
|
@@ -329,8 +329,12 @@
|
|
|
329
329
|
bind:tooltipContext
|
|
330
330
|
let:x
|
|
331
331
|
let:xScale
|
|
332
|
+
let:x1
|
|
333
|
+
let:x1Scale
|
|
334
|
+
let:y1
|
|
332
335
|
let:y
|
|
333
336
|
let:yScale
|
|
337
|
+
let:y1Scale
|
|
334
338
|
let:c
|
|
335
339
|
let:cScale
|
|
336
340
|
let:width
|
|
@@ -341,8 +345,12 @@
|
|
|
341
345
|
{@const slotProps = {
|
|
342
346
|
x,
|
|
343
347
|
xScale,
|
|
348
|
+
x1,
|
|
349
|
+
x1Scale,
|
|
344
350
|
y,
|
|
345
351
|
yScale,
|
|
352
|
+
y1,
|
|
353
|
+
y1Scale,
|
|
346
354
|
c,
|
|
347
355
|
cScale,
|
|
348
356
|
width,
|