在Vue3 中使用 @visactor/vchart 非常简单。首先,你需要通过 npm 或 yarn 安装该库。然后,在你的 Vue 组件中导入并使用它。通常,你需要在模板中定义一个 DOM 元素作为图表的容器,并在脚本部分配置图表的选项。 列出@visactor/vchart的主要功能或特性: 易于集成:与 Vue 框架无缝集成,使用简单。 丰富的图表...
import { registerChartModule } from '@visactor/vue-vtable'; import VChart from '@visactor/vchart'; registerChartModule('vchart', VChart); // ...列宽保持在Vue-VTable 中,props 的更新会触发 VTable 的 updateOption(或 setRecords),如果手动调整了列宽,则会导致列宽重置为初始状态。如果需要保留列...
const VChart = require('@visactor/vchart'); 1. 或者,如果您使用了ES6模块语法: import VChart from '@visactor/vchart'; 1. 创建图表:使用VChart库创建您需要的图表。根据@visactor/vchart的文档和示例,构建您的图表配置对象,并创建一个图表实例。 const chartOptions = { // 图表配置选项,根据需要进...
<template> <vue-pivot-chart :options="tableOptions" ref="pivotChartRef" @onLegendItemClick="handleLegendItemClick" :height="800"> <PivotRowDimension v-for="row in rows" :dimensionKey="row.dimensionKey" :title="row.title" :headerStyle="row.headerStyle" :objectHandler="row" /> <Pivot...
Strong expressiveness: Provides flexible and powerful graphic capabilities, seamlessly integrating with charts ofVChart. Repository Introduction This repository includes the following packages: packages/vtable: The core code repository of VTable packages/vtable-gantt: Gantt chart component code ...
vscreen Steps to Reproduce vue demo <template> <basic-container> <!-- <el-button @click="exportExcel" type="primary">导出Excel</el-button> --> </basic-container> </template> import { register } from "@visactor/vtable"; import { DateInputEditor, InputEditor, // ListEditor, Text...
feat/add-chart-picker pre-release/1.17.3-alpha.13 main 3612-bug-gantt-renderProblem pre-release/1.17.3-alpha.12 3583-feature-mark-style 3582-feature-fillHandle-function feat/add_row_col_button revert-3608-fix/vue-custom-render fix/fix-tree-checkbox-state-sync pre-release/1.17.3-alpha.11 ...
A modern dashboard template built with VisActor and Next.js, featuring a beautiful UI and rich data visualization components. - visactor-next-template/pnpm-lock.yaml at main · mengxi-ream/visactor-next-template