Skip to content

Interface: ChartLegend ​

A chart legend (c:legend).

Properties ​

layout ​

layout: ChartManualLayout | null

The legend's manual layout, or null when it is placed automatically.


overlay ​

overlay: boolean | null

Whether the legend overlays the plot area (c:overlay/@val).


position ​

position: string | null

Legend position (c:legendPos/@val): r/l/t/b/tr.


textStyle ​

textStyle: ChartTextStyle | null

The legend text's formatting (c:txPr), or null when it states none.