Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An interface describing the data returned by calling chart.toJSON()
.
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. |
series | Represents either a single series or collection of series in the chart. |
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. |
Represents chart axes.
axes?: Excel.Interfaces.ChartAxesData;
Represents the data labels on the chart.
dataLabels?: Excel.Interfaces.ChartDataLabelsData;
Encapsulates the format properties for the chart area.
format?: Excel.Interfaces.ChartAreaFormatData;
Specifies the height, in points, of the chart object.
height?: number;
number
The distance, in points, from the left side of the chart to the worksheet origin.
left?: number;
number
Represents the legend for the chart.
legend?: Excel.Interfaces.ChartLegendData;
Specifies the name of a chart object.
name?: string;
string
Represents either a single series or collection of series in the chart.
series?: Excel.Interfaces.ChartSeriesData[];
Represents the title of the specified chart, including the text, visibility, position, and formatting of the title.
title?: Excel.Interfaces.ChartTitleData;
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;
number
Specifies the width, in points, of the chart object.
width?: number;
number
Office Add-ins feedback
Office Add-ins is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in