Skip to content

Gantt component settings reference ​

English · Русский

Use this reference to configure an integrated @mes/aps@1.23.0 chart: time scale, equipment, operations, supplies and requests, dependency arrows, constraints, drag appearance, sizes, colors, and tooltips. Component setup and event handlers belong to the application integration.

For MES Settings, prefix a component path with schedule. and create one record for each leaf property. See Settings record fields and examples. These pages describe the component's defaults; the Gantt panel guide explains the application's defaults and restrictions.

How options reach the chart ​

The application builds a configuration object and passes it to the component. Paths here start at that object's root, such as appSettings.equipmentAreaSettings.showTerminator. The package does not know the application's Settings prefix or storage.

createConfig merges supplied properties into the defaults. Omitted properties keep their defaults; nested objects merge by key. Changing one color does not require listing all other colors. Application overrides, including tooltip date formatting, take precedence over package defaults.

Settings data cannot provide JavaScript functions. A tooltip's transform function requires application code. The panel's supported declarative alternative is described in the valueMap guide.

Choose a chart area ​

Start with the complete configuration example, or find a key in the defaults table, which links to its explanation.

PageOptions
Time scale and zoomInitial fitting, cell width, zoom levels, vertical scale
Equipment areaTitle, equipment labels, empty rows, unavailability, layer order, current-time line
OperationsSetup bars, bar labels, fonts and colors, late operations, operation tooltips
Supplies and requestsVisibility, bar height, supply popup
Dependency arrowsAppearance conditions, highlighted colors, arrow tooltips
ConstraintsSecondary and material panels, visibility, titles, rows, tooltips
Drag appearanceDragging colors, text, styles, valid-position outline

Shared options ​

PageContents
ExampleA complete workshop equipment configuration and its visible result
Sizes and layoutSidebar, splitter, interface sizes
AppearanceBackground, grid, late and dimmed colors, accepted color values
Tooltips and labelslabel, order, hidden, template, dates and missing values
Locale and timezoneTime scale and current-time labels, tooltip formatting conditions
DefaultsDefaults and keys that should not be configured