Skip to main content

start

Description

Optional. Sets the start date of the timescale

Usage

start?: Date;

Example

<script setup>
import { getData } from "./common/data";
import { Gantt } from "@svar-ui/vue-gantt";

const data = getData();

</script>

<template>
<Gantt
:tasks="data.tasks"
:start="new Date(2023, 2, 1)" />
</template>

Related sample: Start/end dates