# v-chartist

> A component of Chartist implements by vuejs 2.0

Latest version **0.1.6** (published 2018-03-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install v-chartist
pnpm add v-chartist
yarn add v-chartist
bun add v-chartist
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2018-03-09 |
| First published | 2017-04-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 13.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 40 |
| Author | lakb248@gmail.com |
| Maintainers | lakb248 |
| Keywords | vue-component, vuejs, chartist |

## Links

- npm: https://www.npmjs.com/package/v-chartist
- Repository: https://github.com/lakb248/vue-chartist
- Homepage: https://github.com/lakb248/vue-chartist#readme
- Issues: https://github.com/lakb248/vue-chartist/issues
- npm.io page: https://npm.io/package/v-chartist

## Alternatives

- [d3-force-3d](https://npm.io/package/d3-force-3d.md) — 1.0M weekly downloads
- [ng2-charts](https://npm.io/package/ng2-charts.md) — 486.8K weekly downloads
- [@arcgis/core](https://npm.io/package/@arcgis/core.md) — 257.8K weekly downloads
- [react-sparklines](https://npm.io/package/react-sparklines.md) — 249.3K weekly downloads
- [react-native-gifted-charts](https://npm.io/package/react-native-gifted-charts.md) — 182.3K weekly downloads

## Recent versions

- 0.1.6 (latest) — 2018-03-09
- 0.1.5 — 2017-09-01
- 0.1.4 — 2017-05-18
- 0.1.3 — 2017-05-12
- 0.1.2 — 2017-05-12
- 0.1.1 — 2017-04-01
- 0.0.2 — 2017-04-01
- 0.0.1 — 2017-04-01

## README

# v-chartist
> A component of [Chartist](https://gionkunz.github.io/chartist-js) implements by vuejs 2.0

## Installation
```
npm install v-chartist --save
```
or
```
bower install vue-chartist --save
```

## Usage
``` javascript
import VueChartist from 'v-chartist';

new Vue({
    components: {
        'vue-chartist': VueChartist
    },
    template: '<vue-chartist :data="data" :options="options" type="Line"></vue-chartist>',
    data: function () {
        return {
            data: {
                labels: ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'],
                series: [
                    [12, 9, 7, 8, 5],
                    [2, 1, 3.5, 7, 3],
                    [1, 3, 4, 5, 6]
                ]
            },
            options: {
                fullWidth: true,
                chartPadding: {
                    right: 40
                }
            }
        };
    }
});
```

## Props
| Property | Description |
|:--|:--|
| data | the data of chart |
| options | the options of chart |
| type | the type of chart, default `Line` |
| listener| the listener of chart |

See the document of [Chartist](https://gionkunz.github.io/chartist-js/api-documentation.html) for detail.

## Contribution
First, install dependencies
```
npm install
```
Second, setup development environment
```
npm run dev
```

## License
MIT

---
_Source: https://npm.io/package/v-chartist · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
