# vue-bar-chart

> vue-bar-chart is a customized bar chart component to showcase statistical data in a clean way.

Latest version **0.1.19** (published 2019-09-25) · 0 weekly downloads

## Install

```sh
npm install vue-bar-chart
pnpm add vue-bar-chart
yarn add vue-bar-chart
bun add vue-bar-chart
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.19 |
| Published | 2019-09-25 |
| First published | 2019-09-24 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 528.5 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | tarique11 |

## Links

- npm: https://www.npmjs.com/package/vue-bar-chart
- npm.io page: https://npm.io/package/vue-bar-chart

## Dependencies (3)

- [vue](https://npm.io/package/vue.md) ^2.6.10
- [core-js](https://npm.io/package/core-js.md) ^2.6.5
- [vue-class-component](https://npm.io/package/vue-class-component.md) ^7.1.0

## Recent versions

- 0.1.19 (latest) — 2019-09-25
- 0.1.18 — 2019-09-25
- 0.1.17 — 2019-09-25
- 0.1.16 — 2019-09-25
- 0.1.15 — 2019-09-25
- 0.1.14 — 2019-09-24
- 0.1.13 — 2019-09-24
- 0.1.12 — 2019-09-24
- 0.1.11 — 2019-09-24
- 0.1.10 — 2019-09-24
- 0.1.9 — 2019-09-24
- 0.1.8 — 2019-09-24
- 0.1.7 — 2019-09-24
- 0.1.6 — 2019-09-24
- 0.1.5 — 2019-09-24
- … 4 more at https://npm.io/package/vue-bar-chart/versions

## README

# vue-bar-chart

vue-bar-chart is a customized bar chart component to showcase statistical data in a clean way.

### Install

```
cd vueproject
npm install --save vue-bar-chart
```

### Usage 

```javascript
<template>
  <div id="app">
    <BarChart 
      :options="options" 
      :width="width"  //default is 400px
      :height="height" //default is 400px
      xlabel="Prices($)" 
      ylabel="Year" />
  </div>
</template>

<script>
import BarChart from "vue-bar-chart";

export default {
  name: "app",
  components: {
    BarChart
  },
  data() {
    return {
      width: 600,
      height: 600,
      options: [
        {
          title: "2015",
          value: 90,
          color: "#a86f32"
        },
        {
          title: "2016",
          value: 70,
          color: "#545D79"
        },
        {
          title: "2017",
          value: 95,
          color: "#8AB721"
        },
        {
          title: "2018",
          value: 40,
          color: "#32a852"
        },
        {
          title: "2019",
          value: 60,
          color: "#4832a8"
        }
      ]
    };
  }
};
</script>
```

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