Excel.Interfaces.ChartTitleData interface

描述通过调用 "chartTitle ()" 返回的数据的接口。An interface describing the data returned by calling "chartTitle.toJSON()".

属性

format

表示图表标题的格式,包括填充和字体格式。Represents the formatting of a chart title, which includes fill and font formatting. 只读。Read-only.

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

height

返回图表标题的高度,以磅为单位。Returns the height, in points, of the chart title. 如果图表标题不可见, 则为 Null。Null if chart title is not visible. 只读。Read-only.

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

horizontalAlignment

表示图表标题水平对齐。Represents the horizontal alignment for chart title.

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

left

表示图表标题左边缘到图表区域左边缘的距离,以磅为单位。Represents the distance, in points, from the left edge of chart title to the left edge of chart area. 如果图表标题不可见, 则为 Null。Null if chart title is not visible.

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

overlay

表示图表标题是否将叠加在图表上的布尔值。Boolean value representing if the chart title will overlay the chart or not.

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

position

表示图表标题的位置。Represents the position of chart title. 有关详细信息, 请参阅 ChartTitlePosition。See Excel.ChartTitlePosition for details.

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

showShadow

表示一个布尔值,用于确定图表标题是否具有阴影。Represents a boolean value that determines if the chart title has a shadow.

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

text

表示图表的标题文本。Represents the title text of a chart.

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

textOrientation

表示图表标题的文本方向。Represents the text orientation of chart title. 此值应是 -90 到 90 或 180(垂直文本)之间的整数。The value should be an integer either from -90 to 90, or 180 for vertically-oriented text.

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

top

表示图表标题上边缘到图表区域顶部的距离,以磅为单位。Represents the distance, in points, from the top edge of chart title to the top of chart area. 如果图表标题不可见, 则为 Null。Null if chart title is not visible.

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

verticalAlignment

表示图表标题垂直对齐。Represents the vertical alignment of chart title. 有关详细信息, 请参阅 ChartTextVerticalAlignment。See Excel.ChartTextVerticalAlignment for details.

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

visible

表示图表标题对象是否可见的布尔值。A boolean value the represents the visibility of a chart title object.

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

width

返回图表标题的宽度,以磅为单位。Returns the width, in points, of the chart title. 如果图表标题不可见, 则为 Null。Null if chart title is not visible. 只读。Read-only.

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

属性详细信息

format

表示图表标题的格式,包括填充和字体格式。Represents the formatting of a chart title, which includes fill and font formatting. 只读。Read-only.

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

format?: Excel.Interfaces.ChartTitleFormatData;

属性值

height

返回图表标题的高度,以磅为单位。Returns the height, in points, of the chart title. 如果图表标题不可见, 则为 Null。Null if chart title is not visible. 只读。Read-only.

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

height?: number;

属性值

number

horizontalAlignment

表示图表标题水平对齐。Represents the horizontal alignment for chart title.

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

horizontalAlignment?: Excel.ChartTextHorizontalAlignment | "Center" | "Left" | "Right" | "Justify" | "Distributed";

属性值

Excel.ChartTextHorizontalAlignment | "Center" | "Left" | "Right" | "Justify" | "Distributed"

left

表示图表标题左边缘到图表区域左边缘的距离,以磅为单位。Represents the distance, in points, from the left edge of chart title to the left edge of chart area. 如果图表标题不可见, 则为 Null。Null if chart title is not visible.

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

left?: number;

属性值

number

overlay

表示图表标题是否将叠加在图表上的布尔值。Boolean value representing if the chart title will overlay the chart or not.

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

overlay?: boolean;

属性值

boolean

position

表示图表标题的位置。Represents the position of chart title. 有关详细信息, 请参阅 ChartTitlePosition。See Excel.ChartTitlePosition for details.

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

position?: Excel.ChartTitlePosition | "Automatic" | "Top" | "Bottom" | "Left" | "Right";

属性值

Excel.ChartTitlePosition | "Automatic" | "Top" | "Bottom" | "Left" | "Right"

showShadow

表示一个布尔值,用于确定图表标题是否具有阴影。Represents a boolean value that determines if the chart title has a shadow.

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

showShadow?: boolean;

属性值

boolean

text

表示图表的标题文本。Represents the title text of a chart.

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

text?: string;

属性值

string

textOrientation

表示图表标题的文本方向。Represents the text orientation of chart title. 此值应是 -90 到 90 或 180(垂直文本)之间的整数。The value should be an integer either from -90 to 90, or 180 for vertically-oriented text.

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

textOrientation?: number;

属性值

number

top

表示图表标题上边缘到图表区域顶部的距离,以磅为单位。Represents the distance, in points, from the top edge of chart title to the top of chart area. 如果图表标题不可见, 则为 Null。Null if chart title is not visible.

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

top?: number;

属性值

number

verticalAlignment

表示图表标题垂直对齐。Represents the vertical alignment of chart title. 有关详细信息, 请参阅 ChartTextVerticalAlignment。See Excel.ChartTextVerticalAlignment for details.

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

verticalAlignment?: Excel.ChartTextVerticalAlignment | "Center" | "Bottom" | "Top" | "Justify" | "Distributed";

属性值

Excel.ChartTextVerticalAlignment | "Center" | "Bottom" | "Top" | "Justify" | "Distributed"

visible

表示图表标题对象是否可见的布尔值。A boolean value the represents the visibility of a chart title object.

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

visible?: boolean;

属性值

boolean

width

返回图表标题的宽度,以磅为单位。Returns the width, in points, of the chart title. 如果图表标题不可见, 则为 Null。Null if chart title is not visible. 只读。Read-only.

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

width?: number;

属性值

number