1.0.0-rc.2 • Published 6 years ago

vue-hex-chart v1.0.0-rc.2

Weekly downloads
10
License
CC-BY-SA-4.0
Repository
-
Last release
6 years ago

vue-hex-chart

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# lint all *.js and *.vue files
npm run lint

# run unit tests
npm test

For more information see the docs for vueify.


Setting global config

To set your own Chart.js global config, do something like this:

import Vue      from 'vue';
import HexChart from 'vue-hex-chart';
import Chart    from 'chart.js';

const defaults = {
  animation: {
    duration: 750,
    easing: 'easeInOutQuart',
  },
  tooltips: {
    intersect: false,
    mode:      'index',
  },
};

for (var prop in defaults) {
  Chart.defaults.global[prop] = Object.assign(Chart.defaults.global[prop], defaults[prop]);
}
1.0.0-rc.2

6 years ago

1.0.0-rc

7 years ago

1.0.0-beta.7

8 years ago

1.0.0-beta.6

8 years ago

1.0.0-beta.5

8 years ago

1.0.0-beta.4

8 years ago

1.0.0-beta.3

8 years ago

1.0.0-beta.2

8 years ago

1.0.0-beta.1

8 years ago

1.0.0-beta

8 years ago