Excel.Interfaces.ChartLegendLoadOptions interface

表示图表中的图例。Represents the legend in a chart.

[API 集: ExcelApi 1.1][ API set: ExcelApi 1.1 ]

属性

$all
format

表示图表图例的格式,包括填充和字体格式。Represents the formatting of a chart legend, which includes fill and font formatting.

[API 集: ExcelApi 1.1][ API set: ExcelApi 1.1 ]

height

表示图表上的图例的高度 (以磅为单位)。Represents the height, in points, of the legend on the chart. 如果图例不可见, 则为 Null。Null if legend is not visible.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

left

代表图表图例的左侧 (以磅为单位)。Represents the left, in points, of a chart legend. 如果图例不可见, 则为 Null。Null if legend is not visible.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

overlay

表示图表图例是否应该与图表的主体重叠的布尔值。Boolean value for whether the chart legend should overlap with the main body of the chart.

[API 集: ExcelApi 1.1][ API set: ExcelApi 1.1 ]

position

表示图例在图表上的位置。Represents the position of the legend on the chart. 有关详细信息, 请参阅 ChartLegendPosition。See Excel.ChartLegendPosition for details.

[API 集: ExcelApi 1.1][ API set: ExcelApi 1.1 ]

showShadow

表示图例在图表上是否有阴影。Represents if the legend has a shadow on the chart.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

top

表示图表图例顶部。Represents the top of a chart legend.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

visible

表示 ChartLegend 对象是否可见的布尔值。A boolean value the represents the visibility of a ChartLegend object.

[API 集: ExcelApi 1.1][ API set: ExcelApi 1.1 ]

width

表示图表上的图例的宽度 (以磅为单位)。Represents the width, in points, of the legend on the chart. 如果图例不可见, 则为 Null。Null if legend is not visible.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

属性详细信息

$all

$all?: boolean;

属性值

boolean

format

表示图表图例的格式,包括填充和字体格式。Represents the formatting of a chart legend, which includes fill and font formatting.

[API 集: ExcelApi 1.1][ API set: ExcelApi 1.1 ]

format?: Excel.Interfaces.ChartLegendFormatLoadOptions;

属性值

height

表示图表上的图例的高度 (以磅为单位)。Represents the height, in points, of the legend on the chart. 如果图例不可见, 则为 Null。Null if legend is not visible.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

height?: boolean;

属性值

boolean

left

代表图表图例的左侧 (以磅为单位)。Represents the left, in points, of a chart legend. 如果图例不可见, 则为 Null。Null if legend is not visible.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

left?: boolean;

属性值

boolean

overlay

表示图表图例是否应该与图表的主体重叠的布尔值。Boolean value for whether the chart legend should overlap with the main body of the chart.

[API 集: ExcelApi 1.1][ API set: ExcelApi 1.1 ]

overlay?: boolean;

属性值

boolean

position

表示图例在图表上的位置。Represents the position of the legend on the chart. 有关详细信息, 请参阅 ChartLegendPosition。See Excel.ChartLegendPosition for details.

[API 集: ExcelApi 1.1][ API set: ExcelApi 1.1 ]

position?: boolean;

属性值

boolean

showShadow

表示图例在图表上是否有阴影。Represents if the legend has a shadow on the chart.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

showShadow?: boolean;

属性值

boolean

top

表示图表图例顶部。Represents the top of a chart legend.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

top?: boolean;

属性值

boolean

visible

表示 ChartLegend 对象是否可见的布尔值。A boolean value the represents the visibility of a ChartLegend object.

[API 集: ExcelApi 1.1][ API set: ExcelApi 1.1 ]

visible?: boolean;

属性值

boolean

width

表示图表上的图例的宽度 (以磅为单位)。Represents the width, in points, of the legend on the chart. 如果图例不可见, 则为 Null。Null if legend is not visible.

[API 集: ExcelApi 1.7][ API set: ExcelApi 1.7 ]

width?: boolean;

属性值

boolean