# TitleComponentOption Type documentation

## TypeScript declaration

### TitleComponentOption

**Kind:** interface

**Alias of:** `TitleOption`

```
import type { TitleComponentOption } from '@siemens/charts-ng';
```

```
interface TitleComponentOption extends ComponentOption, BoxLayoutOptionMixin, BorderOptionMixin, ComponentOnCalendarOptionMixin, ComponentOnMatrixOptionMixin
```

#### Properties

| Name | Type | Description |
| --- | --- | --- |
| backgroundColor (optional) | `ZRColor` |  |
| borderCap (optional, inherited) | `CanvasLineCap` | Inherited from [BorderOptionMixin](<https://echarts.apache.org>) |
| borderColor (optional, inherited) | `ZRColor` | Inherited from [BorderOptionMixin](<https://echarts.apache.org>) |
| borderDashOffset (optional, inherited) | `number` | Inherited from [BorderOptionMixin](<https://echarts.apache.org>) |
| borderJoin (optional, inherited) | `CanvasLineJoin` | Inherited from [BorderOptionMixin](<https://echarts.apache.org>) |
| borderMiterLimit (optional, inherited) | `number` | Inherited from [BorderOptionMixin](<https://echarts.apache.org>) |
| borderRadius (optional) | `number \| number[]` | Radius of background border. |
| borderType (optional, inherited) | `ZRLineType` | Inherited from [BorderOptionMixin](<https://echarts.apache.org>) |
| borderWidth (optional, inherited) | `number` | Inherited from [BorderOptionMixin](<https://echarts.apache.org>) |
| bottom (optional, inherited) | `PositionSizeOption` | Inherited from [BoxLayoutOptionMixin](<https://echarts.apache.org>) |
| calendarId (optional, inherited) | `OptionId` | Inherited from [ComponentOnCalendarOptionMixin](<https://echarts.apache.org>) |
| calendarIndex (optional, inherited) | `number` | Inherited from [ComponentOnCalendarOptionMixin](<https://echarts.apache.org>) |
| coord (optional, inherited) | `CoordinateSystemDataCoord` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| coordinateSystem (optional, inherited) | `string` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| coordinateSystemUsage (optional, inherited) | `CoordinateSystemUsageOption` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| height (optional, inherited) | `PositionSizeOption` | Inherited from [BoxLayoutOptionMixin](<https://echarts.apache.org>) |
| id (optional, inherited) | `OptionId` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| itemGap (optional) | `number` | Gap between text and subtext |
| left (optional, inherited) | `PositionSizeOption` | Inherited from [BoxLayoutOptionMixin](<https://echarts.apache.org>) |
| link (optional) | `string` | Link to url |
| mainType (optional) | `"title"` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| matrixId (optional, inherited) | `OptionId` | Inherited from [ComponentOnMatrixOptionMixin](<https://echarts.apache.org>) |
| matrixIndex (optional, inherited) | `number` | Inherited from [ComponentOnMatrixOptionMixin](<https://echarts.apache.org>) |
| name (optional, inherited) | `OptionName` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| padding (optional) | `number \| number[]` | Padding between text and border. Support to be a single number or an array. |
| right (optional, inherited) | `PositionSizeOption` | Inherited from [BoxLayoutOptionMixin](<https://echarts.apache.org>) |
| show (optional) | `boolean` |  |
| sublink (optional) | `string` |  |
| subtarget (optional) | `"self" \| "blank"` |  |
| subtext (optional) | `string` |  |
| subtextStyle (optional) | `TitleTextStyleOption` |  |
| target (optional) | `"self" \| "blank"` |  |
| text (optional) | `string` |  |
| textAlign (optional) | `TextAlign` |  |
| textBaseline (optional, deprecated) | `TextVerticalAlign` | Deprecated: Use textVerticalAlign instead |
| textStyle (optional) | `TitleTextStyleOption` |  |
| textVerticalAlign (optional) | `TextVerticalAlign` |  |
| top (optional, inherited) | `PositionSizeOption` | Inherited from [BoxLayoutOptionMixin](<https://echarts.apache.org>) |
| triggerEvent (optional) | `boolean` | If trigger mouse or touch event |
| type (optional, inherited) | `string` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| width (optional, inherited) | `PositionSizeOption` | Inherited from [BoxLayoutOptionMixin](<https://echarts.apache.org>) |
| z (optional, inherited) | `number` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
| zlevel (optional, inherited) | `number` | Inherited from [ComponentOption](<https://echarts.apache.org>) |
