displayMode
Description
Optional. Defines which areas of the Gantt chart to displayUsage
displayMode?: "all" | "grid" | "chart";
Parameters
"all"(default) - displays both the grid and the chart areas"grid"- displays only the grid area"chart"- displays only the chart area
Example
<script>
import { getData } from "./common/data";
import { Gantt } from "@svar-ui/svelte-gantt";
const { tasks, scales } = getData();
</script>
<Gantt {tasks} {scales} displayMode="grid" />