start
Description
Optional. Sets the start date of the timescaleUsage
start?: Date;
Example
import { getData } from "./common/data";
import { Gantt } from "@svar-ui/react-gantt";
const data = getData();
export default function App() {
return <Gantt tasks={data.tasks} start={new Date(2023, 2, 1)} />;
}
Related sample: Start/end dates