Excel.Interfaces.ChartLegendUpdateData interface

一个用于更新 ChartLegend 对象上的数据的接口, 可用于 "ChartLegend (An interface for updating data on the ChartLegend object, for use in "chartLegend.set({ ... })".

属性

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 ]

属性详细信息

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.ChartLegendFormatUpdateData;

属性值

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?: number;

属性值

number

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?: number;

属性值

number

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?: Excel.ChartLegendPosition | "Invalid" | "Top" | "Bottom" | "Left" | "Right" | "Corner" | "Custom";

属性值

Excel.ChartLegendPosition | "Invalid" | "Top" | "Bottom" | "Left" | "Right" | "Corner" | "Custom"

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?: number;

属性值

number

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?: number;

属性值

number