@noction/vue-highcharts
v1.0.4
Published
Vue wrapper for Highcharts
Downloads
7
Readme
vue-highcharts
Wrapper for Highcharts
in Vue. Currently supporting only vue3.
Install
npm
npm i @noction/vue-highcharts
yarn
yarn add @noction/vue-highcharts
pnpm
pnpm add @noction/vue-highcharts
Usage
<template>
<highcharts
:options="options"
/>
</template>
<script setup lang="ts">
import Highcharts from '@noction/vue-highcharts'
import { reactive } from 'vue'
const options = reactive({
series: [{
data: [1, 2, 4, 8, 16, 32, 64, 128, 256, 512]
}]
})
</script>
Typings
At the moment @noction/vue-highcharts doesn't export any types.
Props
| Name | Type | Description | Required |
|---------------|----------------------------------|-----------------------------|----------|
| options | Object | The chart options structure | true |