@tanstack/alpine-charts
v1.1.0
Published
<div align="center"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/api/readme/charts.png?framework=alpine&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="http
Downloads
591
Readme
@tanstack/alpine-charts
This compatibility package remains supported for existing applications. New
applications use the Alpine directive adapter from @tanstack/charts/alpine.
pnpm add @tanstack/charts alpinejsimport Alpine from 'alpinejs'
import { charts } from '@tanstack/charts/alpine'
Alpine.plugin(charts)
Alpine.start()<div x-data="{ chartOptions }" x-chart="chartOptions"></div>The x-chart element owns its chart contents. Reactive option changes update
the shared host without rebuilding the SVG.
Read the published
Alpine adapter guide
and
x-chart reference.
