# Vue-Gantt-chart **Repository Path**: zzs-vue/Vue-Gantt-chart ## Basic Information - **Project Name**: Vue-Gantt-chart - **Description**: vue 横道 -- 甘特图 - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 6 - **Created**: 2023-06-09 - **Last Updated**: 2023-06-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
基于 Vue 实现的 gantt-like 图表 ,用于排班展示
[](https://www.npmjs.com/package/v-gantt-chart) [](https://img.shields.io/npm/dt/v-gantt-chart.svg)  [](http://hits.dwyl.io/w1301625107/Vue-Gantt-chart) [](https://npmjs.org/package/v-gantt-chart) ## [React版本](https://github.com/w1301625107/React-Gantt-chart) ## [Demo预览地址](https://w1301625107.github.io/Vue-Gantt-chart/demo/index.html) ## Catalog - [Feature](#feature) - [Screenshot](#screenshot) - [Install](#install) - [Use](#use) - [template code](#template-code) - [script code](#script-code) - [data](#data) - [Slot](#slot) - [block 容器块slot 有 __`两种`__ 需要注意](#block-容器块slot-有-__两种__-需要注意) - [⭐️ `customGenerateBlocks` 为 `false`(默认值) 的情况](#⭐️-customgenerateblocks-为-false默认值-的情况) - [⭐️ `customGenerateBlocks` 为 `true` 的情况](#⭐️-customgenerateblocks-为-true-的情况) - [left 行名slot](#left-行名slot) - [markline 时间标记线slot](#markline-时间标记线slot) - [timeline 行名slot](#timeline-时间轴slot) - [title 标题slot](#title-标题slot) - [API](#api) - [Param](#param) - [Method](#method) - [Event](#event) - [Run Demo](#run-demo) - [Caution](#caution) - [Update](#update) - [License](#license) ## Feature - 虚拟列表,快速渲染可视区域,支持大量数据渲染 - 可变时间轴,1 分钟,2 分钟,3 分钟,4 分钟~~~到一天 - 可变单元格 - 标记线 - 支持自定义描述和容器块 ## Screenshot  ## Install ### npm 安装 ```bash npm i v-gantt-chart --save ``` Include plugin in your `main.js` file. ```js import Vue from 'vue' import vGanttChart from 'v-gantt-chart'; Vue.use(vGanttChart); ``` ### 使用链接引入 ```html ``` ```html