# インターフェース: TitleOptions
# プロパティ
# align
• **align**: Align
タイトルの配置。
デフォルト
'center'
# 定義場所
types/index.d.ts:2516 (新しいウィンドウで開きます)
# color
• **color**: Color
テキストの色
参照
Defaults.color
# 定義場所
types/index.d.ts:2531 (新しいウィンドウで開きます)
# display
• **display**: boolean
タイトルを表示するかどうか。
デフォルト
false
# 定義場所
types/index.d.ts:2521 (新しいウィンドウで開きます)
# font
• **font**: ScriptableAndScriptableOptions
<Partial
<FontSpec
>, ScriptableChartContext
>
# 定義場所
types/index.d.ts:2532 (新しいウィンドウで開きます)
# fullSize
• **fullSize**: boolean
このボックスがキャンバスの全幅/全高を占める(他のボックスを移動させる)ことを示します。 false
に設定すると、ボックスはチャート領域の上/横に配置されます。
デフォルト
true
# 定義場所
types/index.d.ts:2539 (新しいウィンドウで開きます)
# padding
• **padding**: number
| { bottom
: number
; top
: number
}
単一の数字が指定された場合、タイトルテキストの上下にパディングを追加します。上下のパディングを個別に変更することも可能です。
# 定義場所
types/index.d.ts:2543 (新しいウィンドウで開きます)
# position
• **position**: "left"
| "top"
| "bottom"
| "right"
タイトルの位置
デフォルト
'top'
# 定義場所
types/index.d.ts:2526 (新しいウィンドウで開きます)
# text
• **text**: string
| string
[]
表示するタイトルテキスト。配列として指定された場合、テキストは複数行でレンダリングされます。