We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99073d9 commit b889847Copy full SHA for b889847
app/components/Package/VersionDistribution.vue
@@ -429,6 +429,14 @@ const endDate = computed(() => {
429
/>
430
</template>
431
432
+ <!-- Subtle gradient applied for area charts -->
433
+ <template #area-gradient="{ series: chartModalSeries, id: gradientId }">
434
+ <linearGradient :id="gradientId" x1="0" x2="0" y1="0" y2="1">
435
+ <stop offset="0%" :stop-color="chartModalSeries.color" stop-opacity="0.2" />
436
+ <stop offset="100%" :stop-color="colors.bg" stop-opacity="0" />
437
+ </linearGradient>
438
+ </template>
439
+
440
<!-- Custom legend for single series (non-interactive) -->
441
<template #legend="{ legend }">
442
<div class="flex gap-4 flex-wrap justify-center">
0 commit comments