GanttBarBox
Defined in: react/src/use-gantt-bar.ts:16
Where a bar is drawn, in px from the top left corner of the chart, which fills its container:
the header is above top: headerHeight, and the scroll of the chart is taken off (with
layout.height: 'auto' the page scrolls it, and the bar does not move in its container), so a panel placed at
left / top in the container’s coordinates follows the bar while the chart scrolls and
while the bar is dragged. It is outside 0 … width / 0 … height of the container when the bar
is scrolled out of view.
Properties
Section titled “Properties”height
Section titled “height”
readonlyheight:number
Defined in: react/src/use-gantt-bar.ts:24
The bar’s height.
readonlyleft:number
Defined in: react/src/use-gantt-bar.ts:18
Distance from the container’s left edge; negative when the bar is scrolled off to the left.
readonlytop:number
Defined in: react/src/use-gantt-bar.ts:20
Distance from the container’s top edge, the header included.
readonlywidth:number
Defined in: react/src/use-gantt-bar.ts:22
The bar’s width, 0 for a zero-length task; a milestone’s diamond is height wide.