TreeGrid Gantt Chart Tutorial
7. Flags
Marking points in chart with defined text as tooltip
-
The flags represent custom mark on given dates that shows its information as tooltip.
For math charts, to display values from source columns in chart use GanttPoints instead of GanttFlags.
The flag icon is centered to the one GanttUnits right to the flag date.
-
Flags are defined by attribute
GanttFlags
.
The column should be defined as Type='Date' Range='1' Button='' - it should be type Date, but without calendar,
because selecting flag dates in calendar will break down the relation between flags and their texts and icons.
-
The flag information is defined in
GanttFlagTexts
.
It is also range cell, the individual texts are separated by semicolon.
The flag text must not contain semicolon. When edited in Gantt, the semicolon is replaced by comma.
-
The flags can show
custom icons
instead of the default flag icon.
-
The icons for individual flags are defined by
GanttFlagIcons
attribute.
It is also range cell, the individual icons are separated by semicolon.
The icons are exact urls to the icon files, paths are relative to the actual page.
-
It is possible to let users to choose the custom icons for the flag, the possible icons are defined in
GanttFlagIconList
attribute. It is first character separated array, not range cell. It contains full urls of the icons.
Users can choose the icon for the flag from gantt popup menu. The menu item texts are defined by GanttFlagIconNames
.
The item text can contain %d string to be replaced by the icon.
-
Tooltip for the flags can be formatted by
GanttFlagsTip
to show specific information for the flag like its date, index and its information from GanttFlagTexts.