Excel.Interfaces.ChartUpdateData interface
An interface for updating data on the Chart
object, for use in chart.set({ ... })
.
Properties
axes | Represents chart axes. |
data |
Represents the data labels on the chart. |
format | Encapsulates the format properties for the chart area. |
height | Specifies the height, in points, of the chart object. |
left | The distance, in points, from the left side of the chart to the worksheet origin. |
legend | Represents the legend for the chart. |
name | Specifies the name of a chart object. |
title | Represents the title of the specified chart, including the text, visibility, position, and formatting of the title. |
top | Specifies the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart). |
width | Specifies the width, in points, of the chart object. |
Property Details
axes
Represents chart axes.
axes?: Excel.Interfaces.ChartAxesUpdateData;
Property Value
Remarks
dataLabels
Represents the data labels on the chart.
dataLabels?: Excel.Interfaces.ChartDataLabelsUpdateData;
Property Value
Remarks
format
Encapsulates the format properties for the chart area.
format?: Excel.Interfaces.ChartAreaFormatUpdateData;
Property Value
Remarks
height
Specifies the height, in points, of the chart object.
height?: number;
Property Value
number
Remarks
left
The distance, in points, from the left side of the chart to the worksheet origin.
left?: number;
Property Value
number
Remarks
legend
Represents the legend for the chart.
legend?: Excel.Interfaces.ChartLegendUpdateData;
Property Value
Remarks
name
Specifies the name of a chart object.
name?: string;
Property Value
string
Remarks
title
Represents the title of the specified chart, including the text, visibility, position, and formatting of the title.
title?: Excel.Interfaces.ChartTitleUpdateData;
Property Value
Remarks
top
Specifies the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).
top?: number;
Property Value
number
Remarks
width
Specifies the width, in points, of the chart object.
width?: number;
Property Value
number
Remarks
Office Add-ins