svelte-tiny-linked-charts 2.3.0 → 2.3.1
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/LinkedChart.svelte +4 -2
- package/package.json +1 -1
package/dist/LinkedChart.svelte
CHANGED
|
@@ -192,6 +192,8 @@
|
|
|
192
192
|
points.push([i * ((barWidth + gap) + (barWidth / (Object.keys(data).length))), height - getHeight(Object.values(data)[i])])
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
+
points[points.length - 1][0] = width
|
|
196
|
+
|
|
195
197
|
return points
|
|
196
198
|
}
|
|
197
199
|
|
|
@@ -265,8 +267,8 @@
|
|
|
265
267
|
<circle
|
|
266
268
|
fill={hover && $hoveringKey[linkedKey] !== null && $hoveringKey[linkedKey] == key ? (fillArray[i] || fill) : "transparent"}
|
|
267
269
|
r={lineDotRadius || (grow ? barMinWidth : barWidth / 2)}
|
|
268
|
-
cy={
|
|
269
|
-
cx={
|
|
270
|
+
cy={polyline?.[i]?.[1]}
|
|
271
|
+
cx={polyline?.[i]?.[0]} />
|
|
270
272
|
{/if}
|
|
271
273
|
|
|
272
274
|
<!-- svelte-ignore a11y_no_noninteractive_tabindex -->
|