scaleHeight
Description
Defines the height of the header cell in pixelsUsage
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 "wx-react-gantt";
const App = () => {
const data = getData();
return <Gantt tasks={data.tasks} scaleHeight={50} />;
};
export default App;