Skip to main content

scaleHeight

Description

Optional. 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

import { getData } from "./common/data";
import { Gantt } from "@svar-ui/react-gantt";

export default function App() {
const data = getData();

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

Related articles: