# GC.Spread.Sheets.GanttSheet.TaskbarLayout

## Content

# Class: TaskbarLayout

[Sheets](../modules/GC.Spread.Sheets).[GanttSheet](../modules/GC.Spread.Sheets.GanttSheet).TaskbarLayout

## Table of contents

### Constructors

- [constructor](GC.Spread.Sheets.GanttSheet.TaskbarLayout#constructor)

### Properties

- [barHeight](GC.Spread.Sheets.GanttSheet.TaskbarLayout#barheight)
- [barTextDateFormat](GC.Spread.Sheets.GanttSheet.TaskbarLayout#bartextdateformat)
- [linkLineMode](GC.Spread.Sheets.GanttSheet.TaskbarLayout#linklinemode)
- [roundBarsToWholeDays](GC.Spread.Sheets.GanttSheet.TaskbarLayout#roundbarstowholedays)
- [tipDateFormat](GC.Spread.Sheets.GanttSheet.TaskbarLayout#tipdateformat)

## Constructors

### <a id="constructor" name="constructor"></a> constructor

• **new TaskbarLayout**()

Creates a task bar layout instance. Internal used only.

**`classdesc`** Represents the layout of task bars on GanttChart.

## Properties

### <a id="barheight" name="barheight"></a> barHeight

• **barHeight**: `number`

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

**`default`** 12

___

### <a id="bartextdateformat" name="bartextdateformat"></a> 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"

___

### <a id="linklinemode" name="linklinemode"></a> linkLineMode

• **linkLineMode**: [`TaskbarLinkMode`](../modules/GC.Spread.Sheets.GanttSheet#taskbarlinkmode)

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

**`default`** "toTop"

___

### <a id="roundbarstowholedays" name="roundbarstowholedays"></a> 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

___

### <a id="tipdateformat" name="tipdateformat"></a> 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"
