Table of Contents

TTMSFNCCustomGanttChart Class

Base chart control that displays tasks on a timeline with a synchronized task list.

API unit family: TMSFNCGanttChart Inherits from: TTMSFNCCustomControl Implements: ITMSFNCGanttProjectControl

Syntax

TTMSFNCCustomGanttChart = class(TTMSFNCCustomControl, ITMSFNCGanttProjectControl)

Properties

Name Description
Color Defines the chart background color.

Methods

Name Description
BeginUpdate Starts a batched update and suspends repaint work until EndUpdate is called.
Clear Removes all tasks from the chart.
CollapseTask Collapses the specified task and hides its child tasks.
DeleteTask Deletes the specified task from the project.
DrawExportTaskList Draws the task-list portion of an exported view.
DrawExportTimeLine Draws the timeline portion of an exported view.
EndUpdate Ends a batched update and refreshes the chart when the update count reaches zero.
ExpandTask Expands the specified task and optionally expands all child tasks.
ExportView Exports the current view to the supplied graphics context.
LoadTasksFromCSVData Loads tasks from a CSV file using the default text encoding.
LoadTasksFromCSVStreamData Loads tasks from a CSV stream using the default text encoding.
LoadTasksFromJSONFile Loads tasks from a JSON file.
LoadTasksFromJSONStream Loads tasks from a JSON stream.
SaveTasksToCSVData Saves tasks to a CSV file using the default text encoding.
SaveTasksToCSVStreamData Saves tasks to a CSV stream using the default text encoding.
SaveTasksToJSONFile Saves tasks to a JSON file.
SaveTasksToJSONStream Saves tasks to a JSON stream.
SelectNextTask Selects the next task relative to the current selection.
SelectNextVisibleTask Selects the next visible task relative to the current selection.
SelectPreviousTask Selects the previous task relative to the current selection.
SelectPreviousVisibleTask Selects the previous visible task relative to the current selection.
SelectTask Selects the specified task.
SelectTaskByRow Selects the task displayed at the specified visible row.
ShowTaskEditor Shows the task editor for the specified task.
UpdateGanttChart Refreshes the complete chart layout and visual state.
UpdateGanttList Refreshes the task-list area.
ZoomTimeLine Changes the timeline zoom factor.