Skip to content

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

Live Line Chart with a Target Band

Price against a $141 to $144 target band, dashed at the edges and marked with small triangles. This is the Svelte 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 lang="ts">
import ChartLiveLineReferenceBand from "@/components/charts/chart-live-line-reference-band.svelte";
</script>
<ChartLiveLineReferenceBand />