Skip to main content

scaleHeight

Description

Defines the height of the header cell in pixels

Usage

scaleHeight?: number;

Parameters

  • scaleHeight - the height of the timescale in pixels; 36 is set by default

Example

<script>
import { getData } from "./common/data";
import { Gantt } from "wx-svelte-gantt";

const data = getData();

</script>

<Gantt tasks={data.tasks} scaleHeight={50} />