1.0.7 • Published 4 years ago

chart.xkcd-svelte v1.0.7

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

chart.xkcd-svelte

Svelte wrapper around chart.xkcd

Check chart.xkcd for detailed documentation.

npm.io

docs for configurations you can find in the official library page

Dependencies

chart.xkcd@^1.1.12 must be installed to use this library

Quick Start

Install npm i chart.xkcd-svelte

<script>
import chartXkcd from 'chart.xkcd';
import Chart from "chart.xkcd-svelte";

	let bar_chart = {
		title: 'github stars VS patron number', // optional
		data: {
			labels: ['github stars', 'patrons'],
			datasets: [{
				data: [10, 5]
			}],
		},
		options: { // optional
			yTickCount: 2,
		},
	}
</script>


<Chart type="bar" options={bar_chart}></Chart>
1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago