Skip to content

IGanttCategoryAxisDataItem

Type interface

Sources

IGanttCategoryAxisDataItem is an interface: it describes a shape of data and is not imported on its own.

Inheritance

IGanttCategoryAxisDataItem extends ICategoryAxisDataItem.

IGanttCategoryAxisDataItem is not extended by any other symbol.

Properties

children

Type Array

Subtasks of this task, if any.

collapsed

Type undefined | false | true

Whether the task's subtasks are collapsed.

color

Type Color

Color of the task, from data, from the Gantt's colors or from the parent task.

container

Type Container

Container for the whole row of the task list: grip, task bullet, label and controls.

controlsContainer

Type Container

Container for the task's duration stepper and progress pie.

customColor

Type Color

Color the user picked for the task, if any. It takes precedence over color.

duration

Type undefined | number

Duration of the task in the Gantt's durationUnit units.

durationStepper

Type NumericStepper

The stepper that shows and changes the task's duration.

grip

Type Rectangle

The grip for dragging the task to another place in the list.

name

Type undefined | string

Name of the task, shown in its label.

parent

Type DataItem

The parent task's data item.

parentId

Type undefined | string

ID of the parent task.

progress

Type undefined | number

Progress of the task, from 0 to 1. For a task with subtasks, the average of theirs.

progressPie

Type ProgressPie

The pie that shows the task's progress.

seriesDataItem

Type DataItem

The task's data item in the GanttSeries.

taskBullet

Type Button

The bullet left of the label: a triangle that collapses and expands the subtasks, or a circle if there are none.

16 inherited items
above

Type undefined | false | trueDefault falseInherited from IAxisDataItem

Draws the grid and fill of this axis range above the series. Set it before the range is created; changing it later has no effect.

To draw all grid above the series, use chart.gridContainer.toFront().

More info: Axis ranges: grid fill above series

axisFill

Type GraphicsInherited from IAxisDataItem

Axis fill element.

bullet

Type AxisBulletInherited from IAxisDataItem

Bullet element.

category

Type undefined | stringInherited from ICategoryAxisDataItem

The category name.

categoryLocation

Type undefined | numberDefault 0Inherited from ICategoryAxisDataItem

Where within category the item starts, from 0 (start) to 1 (end).

cellSize

Type undefined | numberInherited from ICategoryAxisDataItem

Relative size of the category's cell. Used only when the axis has cellSizeField set.

deltaPosition

Type undefined | numberInherited from ICategoryAxisDataItem

Shifts the category from its place, as a share of the whole axis length (1 is the full axis). Used to animate sorting without reordering the data.

endCategory

Type undefined | stringInherited from ICategoryAxisDataItem

End category, for axis ranges that span several categories.

endCategoryLocation

Type undefined | numberDefault 1Inherited from ICategoryAxisDataItem

Where within endCategory (or category) the item ends, from 0 (start) to 1 (end).

grid

Type GridInherited from IAxisDataItem

Grid line element.

id

Type undefined | stringInherited from ICategoryAxisDataItem

A unique id of the data item.

index

Type undefined | numberInherited from ICategoryAxisDataItem

Index of the data item.

isRange

Type undefined | false | trueInherited from IAxisDataItem

true if this data item is an axis range.

label

Type AxisLabelInherited from IAxisDataItem

Axis label element.

tick

Type AxisTickInherited from IAxisDataItem

Tick element.

visible

Type undefined | false | trueInherited from IComponentDataItem