tiny-vue/examples/sites/demos/pc/app/chart/gauge/base.vue

28 lines
399 B
Vue

<template>
<div>
<tiny-gauge :options="options"></tiny-gauge>
</div>
</template>
<script lang="jsx">
import { ChartGauge } from '@opentiny/vue'
export default {
components: {
TinyGauge: ChartGauge
},
data() {
return {
options: {
data: [
{
value: 71,
name: 'Utilization rate'
}
]
}
}
}
}
</script>