# インターフェース: LegendItem
# プロパティ
# borderRadius
• オプション
borderRadius: number
| BorderRadius
凡例ボックスのボーダー半径
バージョン
3.1.0
# 定義されている場所
types/index.d.ts:2264 (新しいウィンドウで開きます)
# datasetIndex
• オプション
datasetIndex: number
関連付けられたデータセットのインデックス
# 定義されている場所
types/index.d.ts:2269 (新しいウィンドウで開きます)
# fillStyle
• オプション
fillStyle: Color
凡例ボックスの塗りつぶしスタイル
# 定義されている場所
types/index.d.ts:2279 (新しいウィンドウで開きます)
# fontColor
• オプション
fontColor: Color
テキストのフォントカラー。LegendOptions.labels.color がデフォルト。
# 定義されている場所
types/index.d.ts:2285 (新しいウィンドウで開きます)
# hidden
• オプション
hidden: boolean
true の場合、この項目は非表示のデータセットを表します。ラベルには打ち消し線が付けられます。
# 定義されている場所
types/index.d.ts:2290 (新しいウィンドウで開きます)
# index
• オプション
index: number
labels 配列内の関連付けられたラベルのインデックス
# 定義されている場所
types/index.d.ts:2274 (新しいウィンドウで開きます)
# lineCap
• オプション
lineCap: CanvasLineCap
ボックスの境界線用。
参照
https://developer.mozilla.org/en/docs/Web/API/CanvasRenderingContext2D/lineCap
# 定義されている場所
types/index.d.ts:2296 (新しいウィンドウで開きます)
# lineDash
• オプション
lineDash: number
[]
ボックスの境界線用。
参照
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash
# 定義されている場所
types/index.d.ts:2302 (新しいウィンドウで開きます)
# lineDashOffset
• オプション
lineDashOffset: number
ボックスの境界線用。
参照
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset
# 定義されている場所
types/index.d.ts:2308 (新しいウィンドウで開きます)
# lineJoin
• オプション
lineJoin: CanvasLineJoin
ボックスの境界線用。
参照
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin
# 定義されている場所
types/index.d.ts:2314 (新しいウィンドウで開きます)
# lineWidth
• オプション
lineWidth: number
ボックスの枠線の幅
# 定義されている場所
types/index.d.ts:2319 (新しいウィンドウで開きます)
# pointStyle
• オプション
pointStyle: PointStyle
凡例ボックスのポイントスタイル(usePointStyle が true の場合のみ使用)
# 定義されている場所
types/index.d.ts:2329 (新しいウィンドウで開きます)
# rotation
• オプション
rotation: number
ポイントの回転角度(度)(usePointStyle が true の場合のみ使用)
# 定義されている場所
types/index.d.ts:2334 (新しいウィンドウで開きます)
# strokeStyle
• オプション
strokeStyle: Color
凡例ボックスのストロークスタイル
# 定義されている場所
types/index.d.ts:2324 (新しいウィンドウで開きます)
# text
• text: string
表示されるラベル
# 定義されている場所
types/index.d.ts:2258 (新しいウィンドウで開きます)
# textAlign
• オプション
textAlign: TextAlign
テキストの配置