Skip to content

Commit 46cf659

Browse files
committed
feat: add a discrete pulse on the weekly downloads chart
1 parent 10b996a commit 46cf659

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

app/components/PackageDownloadStats.vue

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,17 @@ const config = computed(() => ({
4040
},
4141
line: {
4242
color: '#6A6A6A',
43+
pulse: {
44+
show: true,
45+
loop: true, // runs only once if true
46+
radius: 2,
47+
color: '#8A8A8A',
48+
easing: 'ease-in-out',
49+
trail: {
50+
show: true,
51+
length: 6,
52+
},
53+
},
4354
},
4455
plot: {
4556
radius: 6,

0 commit comments

Comments
 (0)