[]
        
(Showing Draft Content)

GC.Spread.Sheets.GanttSheet.TaskbarLayout

Class: TaskbarLayout

Sheets.GanttSheet.TaskbarLayout

Table of contents

Constructors

Properties

Constructors

constructor

new TaskbarLayout()

Creates a task bar layout instance. Internal used only.

classdesc Represents the layout of task bars on GanttChart.

Properties

barHeight

barHeight: number

Gets or sets the height of task bars in pixels. The default value is 12.

default 12


barTextDateFormat

barTextDateFormat: string

Gets or sets the format string for date values which displays for task bar on GanttChart. The default value is "yyyy/mm/dd hh:mm".

default "yyyy/mm/dd hh:mm"


linkLineMode

linkLineMode: TaskbarLinkMode

Gets or sets the link line mode. The default value is 'toTop'.

default "toTop"


roundBarsToWholeDays

roundBarsToWholeDays: boolean

Gets or sets a boolean value that indicates the task bar should be rounded to whole days or not. If true, a time before the project.calendarSettings.defaultStartTime will be displayed as the beginning of the day, and a time after the project.calendarSettings.defaultFinishTime will be displayed as the ending of the day. The default value is true.

default true


tipDateFormat

tipDateFormat: string

Gets or sets the format string for date values which displays in task bar tips or link line tips on GanttChart. The default value is "yyyy/mm/dd hh:mm".

default "yyyy/mm/dd hh:mm"