vuejs3-highcharts

1.0.2 • Public • Published

Vue.js Highcharts

GitHub npm npm npm

Wrapper for Highcharts library for Vue.js 3.x.

Documentation

For more features, access ederssouza.github.io/vuejs3-highcharts.

Installation

$ npm install vuejs3-highcharts --save
# OR 
$ yarn add vuejs3-highcharts

Basic usage

<template>
  <ColumnChart
    :xAxis="chart.xAxis"
    :series="chart.series"
  />
</template>
 
<script>
import { ColumnChart } from 'vuejs3-highcharts'
 
export default {
  name: 'BasicChartSample',
  components: {
    ColumnChart
  },
  data () {
    return {
      chart: {
        xAxis: {
          categories: [2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007]
        },
        series: [
          {
            name: 'Installation',
            color: '#03bbd4',
            data: [43934, 52503, 57177, 69658, 97031, 119931, 137133, 154175]
          },
          {
            name: 'Manufacturing',
            color: '#f7a35c',
            data: [24916, 24064, 29742, 29851, 32490, 30282, 38121, 40434]
          }
        ]
      }
    }
  }
}
</script> 

Package Sidebar

Install

npm i vuejs3-highcharts

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

3.61 MB

Total Files

51

Last publish

Collaborators

  • ederssouza