# @moodles/vue-amcharts

> AmCharts components for vue.js

Latest version **1.0.6** (published 2018-05-31) · ISC license · 0 weekly downloads

## Install

```sh
npm install @moodles/vue-amcharts
pnpm add @moodles/vue-amcharts
yarn add @moodles/vue-amcharts
bun add @moodles/vue-amcharts
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2018-05-31 |
| First published | 2018-05-31 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 308.7 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Jannick Berkhout |
| Maintainers | moodles |

## Links

- npm: https://www.npmjs.com/package/@moodles/vue-amcharts
- Repository: https://github.com/MoodlesBV/vue-amcharts
- Homepage: https://github.com/MoodlesBV/vue-amcharts#readme
- Issues: https://github.com/MoodlesBV/vue-amcharts/issues
- npm.io page: https://npm.io/package/@moodles/vue-amcharts

## Dependencies (3)

- [vue](https://npm.io/package/vue.md) ^2.5.16
- [amcharts3](https://npm.io/package/amcharts3.md) ^3.21.13
- [lodash.merge](https://npm.io/package/lodash.merge.md) ^4.6.1

## Recent versions

- 1.0.6 (latest) — 2018-05-31
- 1.0.5 — 2018-05-31
- 1.0.4 — 2018-05-31
- 1.0.3 — 2018-05-31
- 1.0.2 — 2018-05-31
- 1.0.1 — 2018-05-31
- 1.0.0 — 2018-05-31

## README

# @moodles/vue-amcharts

AmCharts components for vue.js

### Installation

###### webpack
`npm i --save @moodles/vue-amcharts`

###### browser
Grab `vue-amcharts.js` from the `dist` folder and include it using a regular script tag

```
<script src="js/vue.js"></script>
<script src="js/vue-selectbox.js"></script>
```

### Initialization

###### webpack
```
import { AmchartLine, AmchartBar, AmchartPie } from '@moodles/vue-amcharts';

const app = new Vue({
    el: '#app',
    components: {
        'amchart-line': AmchartLine,
        'amchart-bar': AmchartBar,
        'amchart-pie': AmchartPie
    }
})
```

###### browser
```
<script src="js/vue.js"></script>
<script src="js/vue-amcharts.js"></script>

<script>
    Vue.use(VueAmcharts);

    var app = new Vue({
        el: '#app'
    });
</script>
```

### Component usage
When just using the chart components without any `props`, they will just show a default dataset.

```
<amchart-line></amchart-line>
<amchart-bar></amchart-bar>
<amchart-pie></amchart-pie>
```

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