vue3-gauge-chart

⏲ Vue 3 wrapper around gauge-chart library
12,156 5
Install
npm install vue3-gauge-chart
Latest Version:0.0.2
Vue:3
License:MIT
Last Updated:Jan 28, 2024
Links: GitHub  ·  npm
Maintainer: intevel

vue3-gauge-chart ⏲

npm version npm downloads License

⏲ Vue 3 wrapper around gauge-chart

Install


# Using npm
npm install vue3-gauge-chart

# Using yarn
yarn add vue3-gauge-chart

Usage

<script setup lang="ts">
import { GaugeMeter, GaugeMeterOptions } from "vue3-gauge-chart";

const options: GaugeMeterOptions = {
  areaWidth: 600,
  hasNeedle: true,
  needleColor: "black",
  arcColors: ["rgb(255, 84, 84)", "rgb(239, 214, 19)", "rgb(61, 204, 91)"],
  arcDelimiters: [40, 60],
  rangeLabel: ["50", "300"],
  needleStartValue: 100,
  centralLabel: "Bar",
  needleValue: 100,
};
</script>

<template>
  <div>
    <GaugeMeter :options="options" />
  </div>
</template>

License

Published under MIT - Made with ❤️ by Conner Bachmann

Related Packages

@bryntum/chart-vue-3-thin

Vue 3 wrappers for Bryntum Chart JavaScript component

2,715
vue-chart-js

Chart.js for VueJs.

10,491 33
@statnett/vue-plotly

A vue wrapper for plotly.js

7,092 119
vue-gauge-chart

A customizable Vue.js component for gauge charts.

527
vgauge

A Vue Wrapper to GaugeJS

20,475 54

Version History

Version Released License
0.0.2 MIT
0.0.1 MIT