Skip to content

shadcn.io is an independent project built on shadcn/ui

Area Chart with Trend Line

Ten months of visits with a least-squares trend whose gradient stroke fades at both ends. This is the Vue version, drawn with TanStack Charts.

Charting library: TanStack Charts

Preview

Preview width

Installation

Sign in to get your install command
Free with an account. It carries your token, so the CLI installs everything in one go.
Use email insteadNo credit card

Usage

<script setup lang="ts">
import ChartAreaTrend from "@/components/charts/chart-area-trend.vue";
</script>
<template>
  <ChartAreaTrend />
</template>