Define colors for lifecycle phases
You can define the colors for display of lifecycle phases in gantt charts.
- Go to the Reusable Elements tab.
- Right-click the User Interface Groups node and select Create New Style Group.
- Click the new style group node and set the attributes:
- Name: Change the name to a meaningful name for display in the explorer in Alfabet Expand.
- Caption: Change the caption to a meaningful caption for display in the Alfabet user interface in the views to edit the coloring for a new custom theme.
- Type: Select Enum.
- For each enumeration item in your enumeration, do the following:
- Right-click the style group node and select Create Style.
- Click the new style node and change the Name and Caption attributes to match one of the enumeration item values in your enumeration.
- Expand the style node, click the child nodes and set the Default Color, Caption, and Description attributes for the Chart Color node. All other colors are not used for lifecycle phases.
- Go to the Presentation tab.
- Expand the XML Objects node and double-click the ObjectLifeCylceManager node.
- In the XML object, find the XML element ObjectLifeCycle for which you want to define coloring. Lifecycle definitions are assigned to one or multiple object classes. You can find the object class names as a list in the XML attribute ClassNames.
- Add an XML attribute UIStyle to each child XML element ObjectStatusDef and set it to the name of the style group and the name of the style to be used for the lifecycle phase separated by a colon.
- <ObjectStatusDef Name = "Plan" UIStyle="ReleaseStatus:Stage1" Length = "6" Hint="Has been identified and evaluated for possible use in the company." />
A static color can also be defined for lifecycle phases with an XML attribute Color . If you define both Color and UIStyle , UIStyle is used, and Color is ignored.
- Name: Enter the name of the release status value.
- : Enter the name of the style group and the name of the style to be used for the release status value separated by a colon.