Excel.Interfaces.ChartPointData interface

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

属性

dataLabel

返回图表点的数据标签。Returns the data label of a chart point. 只读。Read-only.

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

format

封装图表点的格式属性。Encapsulates the format properties chart point. 只读。Read-only.

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

hasDataLabel

表示数据点是否具有数据标签。Represents whether a data point has a data label. 不适用于曲面图。Not applicable for surface charts.

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

markerBackgroundColor

表示数据点的标记背景色的 HTML 颜色代码。HTML color code representation of the marker background color of data point. 例如,E.g. #FF0000 表示红色。#FF0000 represents Red.

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

markerForegroundColor

表示数据点的标记前景色的 HTML 颜色代码。HTML color code representation of the marker foreground color of data point. 例如,E.g. #FF0000 表示红色。#FF0000 represents Red.

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

markerSize

表示数据点的标记大小。Represents marker size of data point.

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

markerStyle

表示图表数据点的标记样式。Represents marker style of a chart data point. 有关详细信息, 请参阅 ChartMarkerStyle。See Excel.ChartMarkerStyle for details.

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

value

返回图表点的值。Returns the value of a chart point. 只读。Read-only.

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

属性详细信息

dataLabel

返回图表点的数据标签。Returns the data label of a chart point. 只读。Read-only.

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

dataLabel?: Excel.Interfaces.ChartDataLabelData;

属性值

format

封装图表点的格式属性。Encapsulates the format properties chart point. 只读。Read-only.

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

format?: Excel.Interfaces.ChartPointFormatData;

属性值

hasDataLabel

表示数据点是否具有数据标签。Represents whether a data point has a data label. 不适用于曲面图。Not applicable for surface charts.

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

hasDataLabel?: boolean;

属性值

boolean

markerBackgroundColor

表示数据点的标记背景色的 HTML 颜色代码。HTML color code representation of the marker background color of data point. 例如,E.g. #FF0000 表示红色。#FF0000 represents Red.

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

markerBackgroundColor?: string;

属性值

string

markerForegroundColor

表示数据点的标记前景色的 HTML 颜色代码。HTML color code representation of the marker foreground color of data point. 例如,E.g. #FF0000 表示红色。#FF0000 represents Red.

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

markerForegroundColor?: string;

属性值

string

markerSize

表示数据点的标记大小。Represents marker size of data point.

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

markerSize?: number;

属性值

number

markerStyle

表示图表数据点的标记样式。Represents marker style of a chart data point. 有关详细信息, 请参阅 ChartMarkerStyle。See Excel.ChartMarkerStyle for details.

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

markerStyle?: Excel.ChartMarkerStyle | "Invalid" | "Automatic" | "None" | "Square" | "Diamond" | "Triangle" | "X" | "Star" | "Dot" | "Dash" | "Circle" | "Plus" | "Picture";

属性值

Excel.ChartMarkerStyle | "Invalid" | "Automatic" | "None" | "Square" | "Diamond" | "Triangle" | "X" | "Star" | "Dot" | "Dash" | "Circle" | "Plus" | "Picture"

value

返回图表点的值。Returns the value of a chart point. 只读。Read-only.

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

value?: any;

属性值

any