The
Chart object contains all properties and methods related to the Gantt chart
area. Use the
Bars property to access the
control's Bars collection. Use the
PaneWidth
property to specify the width of the chart area. Use the
AddBar
property to add new bars to an item. Use the
LevelCount
property to specify the number of levels in the control's header. The Chart
object supports the following properties and methods:
| |  | Name | Description | |
| | | AMPM | Specifies the AM and PM indicators. | |
| | | BackColor | Retrieves or sets a value that indicates the chart's background color. | |
| | | BackColorLevelHeader | Specifies the background color for the chart's levels. | |
| | | Bars | Retrieves the Bars collection. | |
| | | DateFromPoint | Retrieves the date from the cursor. | |
| | | DrawDateTicker | Retrieves or sets a value that indicates whether the control draws a ticker around the current date while cursor hovers the chart's client area. | |
| | | DrawGridLines | Retrieves or sets a value that indicates whether the grid lines are visible or hidden. | |
| | | DrawLevelSeparator | Retrieves or sets a value that indicates whether lines between levels are shown or hidden. | |
| | | FirstVisibleDate | Retrieves or sets a value that indicates the first visible date. | |
| | | FirstWeekDay | Specifies the first day of the week. | |
| | | ForeColor | Retrieves or sets a value that indicates the chart's foreground color. | |
| | | ForeColorLevelHeader | Specifies the foreground color for the chart's levels. | |
| | | FormatDate | Formats the date. | |
| | | Label | Retrieves or sets a value that indicates the predefined format of the level's label for a specified unit. | |
| | | LabelToolTip | Retrieves or sets a value that indicates the predefined format of the level's tooltip for a specified unit. | |
| | | Level | Retrieves the level based on its index. | |
| | | LevelCount | Specifies the number of levels in the control's header. | |
| | | LinksColor | Specifies the color to draw the links between the bars. | |
| | | LinksStyle | Specifies the style to draw the links between the bars. | |
| | | LinksWidth | Specifies the width in pixels of the pen to draw the links between the bars. | |
| | | MarkTodayColor | Retrieves or sets a value that indicates the color to mark today in the chart. | |
| | | MonthNames | Retrieves or sets a value that indicates the list of month names, separated by space. | |
| | | NextDate | Gets the next date based on the unit. | |
| | | NonworkingDays | Retrieves or sets a value that indicates the non-working days, for each week day a bit. | |
| | | NonworkingDaysColor | Retrieves or sets a value that indicates the color to fill the non-working days. | |
| | | NonworkingDaysPattern | Retrieves or sets a value that indicates the pattern being used to fill non-working days. | |
| | | OverviewBackColor | Specifies the background color of the chart's overview. | |
| | | OverviewHeight | Specifies whether the height of the chart's overview. | |
| | | OverviewLevelLines | Indicates the index of the level that displays the grid line in the chart's overview. | |
| | | OverviewSelBackColor | Specifies the selection color of the chart's overview. | |
| | | OverviewToolTip | Retrieves or sets a value that indicates the format of the tooltip being shown while the cursor hovers the chart's overview area. | |
| | | OverviewVisible | Specifies whether the chart's overview layout is visible or hidden. | |
| | | PaneWidth | Specifies the width for the left or side pane. | |
| | | Picture | Retrieves or sets a graphic to be displayed in the chart. | |
| | | PictureDisplay | Retrieves or sets a value that indicates the way how the graphic is displayed on the chart's background | |
| | | ScrollBar | Shows or hides the chart's horizontal scroll bar. | |
| | | ScrollTo | Scrolls the chart so the specified date is visible. | |
| | | ShowLinks | Retrieves or sets a value that indicates whether the links between bars are visible or hidden. | |
| | | ToolTip | Retrieves or sets a value that indicates the format of the tooltip being shown while the user scrolls the chart. | |
| | | UnitScale | Retrieves or sets a value that indicates the base unit being displayed. | |
| | | UnitWidth | Specifies the width in pixels for the minimal unit. | |
| | | WeekDays | Retrieves or sets a value that indicates the list of names for each week day, separated by space. | |
| | | Zoom | Sets or retrieves the magnification scale of the chart. | |