Skip to content

Commit

Permalink
docs(ScatterChart): Add transitions to legend show/hide series example
Browse files Browse the repository at this point in the history
  • Loading branch information
techniq committed Nov 19, 2024
1 parent 5139159 commit 3c1300e
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,12 @@
y="bill_length_mm"
series={pengiunSeries.filter((s) => $selection.isSelected(s.key))}
padding={{ left: 16, bottom: 48 }}
props={{
xAxis: { tweened: { duration: 200 } },
yAxis: { tweened: { duration: 200 } },
grid: { tweened: { duration: 200 } },
points: { tweened: { duration: 200 } },
}}
>
<svelte:fragment slot="legend">
<Legend
Expand Down

0 comments on commit 3c1300e

Please sign in to comment.