Chart object
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: 

 NameDescription 
  AddNonworkingDateAdds a nonworking date. 
  AllowOverviewZoomGets or sets a value that indicates whether the user can zoom the chart at runtime. 
  AMPMSpecifies the AM and PM indicators. 
  BackColorRetrieves or sets a value that indicates the chart's background color.  
  BackColorLevelHeaderSpecifies the background color for the chart's levels. 
  BarFromPointRetrieves the bar from point. 
  BarsRetrieves the Bars collection. 
  ClearItemBackColorClears the item's background color in the chart area. 
  ClearNonworkingDatesClears nonworking dates. 
  CountVisibleUnitsCounts the number of units within the specified range. 
  DateFromPointRetrieves the date from the cursor. 
  DrawDateTickerRetrieves or sets a value that indicates whether the control draws a ticker around the current date while cursor hovers the chart's client area. 
  DrawGridLinesRetrieves or sets a value that indicates whether the grid lines are visible or hidden. 
  DrawLevelSeparatorRetrieves or sets a value that indicates whether lines between levels are shown or hidden. 
  EndPrintDateRetrieves or sets a value that indicates the printing end date. 
  FirstVisibleDateRetrieves or sets a value that indicates the first visible date. 
  FirstWeekDaySpecifies the first day of the week. 
  ForeColorRetrieves or sets a value that indicates the chart's foreground color. 
  ForeColorLevelHeaderSpecifies the foreground color for the chart's levels. 
  FormatDateFormats the date. 
  GridLineStyleRetrieves or sets a value that indicates style for the gridlines being shown in the chart area. 
  IsDateVisibleSpecifies whether the date fits the control's chart area. 
  IsNonworkingDateSpecifies whether the date is a nonworking day. 
  ItemBackColorRetrieves or sets a background color for a specific item, in the chart area. 
  LabelRetrieves or sets a value that indicates the predefined format of the level's label for a specified unit. 
  LabelToolTipRetrieves or sets a value that indicates the predefined format of the level's tooltip for a specified unit. 
  LevelRetrieves the level based on its index. 
  LevelCountSpecifies the number of levels in the control's header. 
  LevelFromPointRetrieves the index of the level from the point. 
  LinkFromPointRetrieves the link from the point. 
  LinksColorSpecifies the color to draw the links between the bars. 
  LinksStyleSpecifies the style to draw the links between the bars. 
  LinksWidthSpecifies the width in pixels of the pen to draw the links between the bars. 
  LocAMPMRetrieves the time marker such as AM or PM using the current user regional and language settings. 
  LocFirstWeekDayIndicates the first day of the week, as specified in the regional settings. 
  LocMonthNamesRetrieves the list of month names, as indicated in the regional settings, separated by space. 
  LocWeekDaysRetrieves the list of names for each week day, as indicated in the regional settings, separated by space. 
  MarkNowColorSpecifies the background color or the visual appearance of the object that indicates the current time in the chart. 
  MarkNowCountSpecifies the number of time units to count while highlighting the current time. 
  MarkNowTransparentSpecifies the percent of the transparency to display the object that marks the current time. 
  MarkNowUnitRetrieves or sets a value that indicates the base time unit while highlighting the current time. 
  MarkNowWidthSpecifies the width in pixels of the object that shows the current time. 
  MarkSelectDateColorRetrieves or sets a value that indicates the color to mark the selected date in the chart. 
  MarkTodayColorRetrieves or sets a value that indicates the color to mark today in the chart. 
  MonthNamesRetrieves or sets a value that indicates the list of month names, separated by space. 
  NextDateGets the next date based on the unit. 
  NonworkingDaysRetrieves or sets a value that indicates the non-working days, for each week day a bit. 
  NonworkingDaysColorRetrieves or sets a value that indicates the color to fill the non-working days. 
  NonworkingDaysPatternRetrieves or sets a value that indicates the pattern being used to fill non-working days. 
  NonworkingHoursRetrieves or sets a value that indicates the non-working hours, for each hour in a day a bit. 
  NonworkingHoursColorRetrieves or sets a value that indicates the color to fill the non-working hours. 
  NonworkingHoursPatternRetrieves or sets a value that indicates the pattern being used to fill non-working hours. 
  OverviewBackColorSpecifies the background color of the chart's overview. 
  OverviewHeightSpecifies whether the height of the chart's overview. 
  OverviewLevelLinesIndicates the index of the level that displays the grid line in the chart's overview. 
  OverviewSelBackColorSpecifies the selection color of the chart's overview. 
  OverviewToolTipRetrieves or sets a value that indicates the format of the tooltip being shown while the cursor hovers the chart's overview area. 
  OverviewVisibleSpecifies whether the chart's overview layout is visible or hidden. 
  OverviewZoomCaptionSpecifies the captions for each zooming unit. 
  OverviewZoomUnitIndicates the width in pixels of the zooming unit in the overview. 
  PaneWidthSpecifies the width for the left or side pane. 
  PictureRetrieves or sets a graphic to be displayed in the chart. 
  PictureDisplayRetrieves or sets a value that indicates the way how the graphic is displayed on the chart's background 
  RemoveNonworkingDateRemoves a nonworking date. 
  ScrollBarShows or hides the chart's horizontal scroll bar. 
  ScrollRangeSpecifies the range of dates to scroll within. 
  ScrollToScrolls the chart so the specified date is visible. 
  SelBackColorRetrieves or sets a value that indicates the selection background color. 
  SelectDateSelects or unselects a specific date in the chart. 
  SelectLevelIndicates the index of the level that highlights the selected dates. 
  SelForeColorRetrieves or sets a value that indicates the selection foreground color. 
  ShowEmptyBarsSpecifies whether empty bars are shown or hidden. An empty bar has the start and end dates identical. 
  ShowEmptyBarsUnitSpecifies the unit to be added to the end date, so empty bars are shown. 
  ShowLinksRetrieves or sets a value that indicates whether the links between bars are visible or hidden. 
  ShowNonworkingDatesShows or hides nonworking dates. 
  ShowNonworkingUnitsRetrieves or sets a value that indicates whether the non-working units are visible or hidden. 
  ShowTransparentBarsGets or sets a value that indicates percent of the transparency to display the bars. 
  StartPrintDateRetrieves or sets a value that indicates the printing start date. 
  ToolTipRetrieves or sets a value that indicates the format of the tooltip being shown while the user scrolls the chart. 
  UnitScaleRetrieves or sets a value that indicates the base unit being displayed. 
  UnitWidthSpecifies the width in pixels for the minimal unit. 
  UnselectDatesUnselects all dates in the chart. 
  WeekDaysRetrieves or sets a value that indicates the list of names for each week day, separated by space. 
  WeekNumberAsSpecifies the way the control displays the week number. 
  ZoomSets or retrieves the magnification scale of the chart.