Excel.Interfaces.ChartLegendLoadOptions interface
Warning
This API is now deprecated.
Represents the legend in a chart.
Remarks
Properties
$all | Specifying |
format | Represents the formatting of a chart legend, which includes fill and font formatting. |
height | Specifies the height, in points, of the legend on the chart. Value is |
left | Specifies the left value, in points, of the legend on the chart. Value is |
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 |
show |
Specifies if the legend has a shadow on the chart. |
top | Specifies the top of a chart legend. |
visible | Specifies if the chart legend is visible. |
width | Specifies the width, in points, of the legend on the chart. Value is |
Property Details
$all
Warning
This API is now deprecated.
Specifying $all
for the load options loads all the scalar properties (such as Range.address
) but not the navigational properties (such as Range.format.fill.color
).
$all?: boolean;
Property Value
boolean
format
Warning
This API is now deprecated.
Represents the formatting of a chart legend, which includes fill and font formatting.
format?: Excel.Interfaces.ChartLegendFormatLoadOptions;
Property Value
Remarks
height
Warning
This API is now deprecated.
Specifies the height, in points, of the legend on the chart. Value is null
if the legend is not visible.
height?: boolean;
Property Value
boolean
Remarks
left
Warning
This API is now deprecated.
Specifies the left value, in points, of the legend on the chart. Value is null
if the legend is not visible.
left?: boolean;
Property Value
boolean
Remarks
overlay
Warning
This API is now deprecated.
Specifies if the chart legend should overlap with the main body of the chart.
overlay?: boolean;
Property Value
boolean
Remarks
position
Warning
This API is now deprecated.
Specifies the position of the legend on the chart. See Excel.ChartLegendPosition
for details.
position?: boolean;
Property Value
boolean
Remarks
showShadow
Warning
This API is now deprecated.
Specifies if the legend has a shadow on the chart.
showShadow?: boolean;
Property Value
boolean
Remarks
top
Warning
This API is now deprecated.
Specifies the top of a chart legend.
top?: boolean;
Property Value
boolean
Remarks
visible
Warning
This API is now deprecated.
Specifies if the chart legend is visible.
visible?: boolean;
Property Value
boolean
Remarks
width
Warning
This API is now deprecated.
Specifies the width, in points, of the legend on the chart. Value is null
if the legend is not visible.
width?: boolean;
Property Value
boolean
Remarks
Office Add-ins