Excel.Interfaces.ChartLegendData interface
An interface describing the data returned by calling chartLegend.toJSON()
.
Properties
format | Represents the formatting of a chart legend, which includes fill and font formatting. |
overlay | Specifies if the chart legend should overlap with the main body of the chart. |
position | Specifies the position of the legend on the chart. See |
visible | Specifies if the chart legend is visible. |
Property Details
format
Represents the formatting of a chart legend, which includes fill and font formatting.
format?: Excel.Interfaces.ChartLegendFormatData;
Property Value
Remarks
overlay
Specifies if the chart legend should overlap with the main body of the chart.
overlay?: boolean;
Property Value
boolean
Remarks
position
Specifies the position of the legend on the chart. See Excel.ChartLegendPosition
for details.
position?: Excel.ChartLegendPosition | "Invalid" | "Top" | "Bottom" | "Left" | "Right" | "Corner" | "Custom";
Property Value
Excel.ChartLegendPosition | "Invalid" | "Top" | "Bottom" | "Left" | "Right" | "Corner" | "Custom"
Remarks
visible
Specifies if the chart legend is visible.
visible?: boolean;
Property Value
boolean
Remarks
Office Add-ins