tagnumelite-svelte-chartjs Svelte Themes

Tagnumelite Svelte Chartjs

@TagnumElite/Svelte-ChartJS

Svelte wrapper components for chart.js

Installation

npm i chart.js @tagnumelite/svelte-chartjs

Usage

<script>
    import { Bar } from '@tagnumelite/svelte-chartjs';

    const chartData = {
        dataset: [...]
    };
</script>

<Bar data={chartData} />

Example

Contributing

I made this in contrast to svelte-chartjs because I wanted make a website using Svelte 5.

Getting Started

git clone https://github.com/TagnunmElite/tagnumelite-svelte-chartjs
cd tagnumelite-svelte-chartjs
npm install
npm run dev

Running Tests

npm test

Storybook

npm run storybook

License

This project is licensed under the MIT License

Top categories

Loading Svelte Themes