scaleHeight
Description
Optional. Defines the height of the header cell in pixelsUsage
scaleHeight?: number;
Parameters
scaleHeight- the height of the timescale in pixels; 36 is set by default
Example
<script setup>
import { getData } from "./common/data";
import { Gantt } from "@svar-ui/vue-gantt";
const data = getData();
</script>
<template>
<Gantt :tasks="data.tasks" :scaleHeight="50" />
</template>
Related articles: