Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents the legend in a chart.
$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 |
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;
boolean
Represents the formatting of a chart legend, which includes fill and font formatting.
format?: Excel.Interfaces.ChartLegendFormatLoadOptions;
Specifies the height, in points, of the legend on the chart. Value is null
if the legend is not visible.
height?: boolean;
boolean
Specifies the left value, in points, of the legend on the chart. Value is null
if the legend is not visible.
left?: boolean;
boolean
Specifies if the chart legend should overlap with the main body of the chart.
overlay?: boolean;
boolean
Specifies the position of the legend on the chart. See Excel.ChartLegendPosition
for details.
position?: boolean;
boolean
Specifies if the legend has a shadow on the chart.
showShadow?: boolean;
boolean
Specifies the top of a chart legend.
top?: boolean;
boolean
Specifies if the chart legend is visible.
visible?: boolean;
boolean
Specifies the width, in points, of the legend on the chart. Value is null
if the legend is not visible.
width?: boolean;
boolean
Office Add-ins feedback
Office Add-ins is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in