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 for updating data on the ChartTitle
object, for use in chartTitle.set({ ... })
.
format | Represents the formatting of a chart title, which includes fill and font formatting. |
horizontal |
Specifies the horizontal alignment for chart title. |
left | Specifies the distance, in points, from the left edge of chart title to the left edge of chart area. Value is |
overlay | Specifies if the chart title will overlay the chart. |
position | Represents the position of chart title. See |
show |
Represents a boolean value that determines if the chart title has a shadow. |
text | Specifies the chart's title text. |
text |
Specifies the angle to which the text is oriented for the chart title. The value should either be an integer from -90 to 90 or the integer 180 for vertically-oriented text. |
top | Specifies the distance, in points, from the top edge of chart title to the top of chart area. Value is |
vertical |
Specifies the vertical alignment of chart title. See |
visible | Specifies if the chart title is visible. |
Represents the formatting of a chart title, which includes fill and font formatting.
format?: Excel.Interfaces.ChartTitleFormatUpdateData;
Specifies the horizontal alignment for chart title.
horizontalAlignment?: Excel.ChartTextHorizontalAlignment | "Center" | "Left" | "Right" | "Justify" | "Distributed";
Excel.ChartTextHorizontalAlignment | "Center" | "Left" | "Right" | "Justify" | "Distributed"
Specifies the distance, in points, from the left edge of chart title to the left edge of chart area. Value is null
if the chart title is not visible.
left?: number;
number
Specifies if the chart title will overlay the chart.
overlay?: boolean;
boolean
Represents the position of chart title. See Excel.ChartTitlePosition
for details.
position?: Excel.ChartTitlePosition | "Automatic" | "Top" | "Bottom" | "Left" | "Right";
Excel.ChartTitlePosition | "Automatic" | "Top" | "Bottom" | "Left" | "Right"
Represents a boolean value that determines if the chart title has a shadow.
showShadow?: boolean;
boolean
Specifies the chart's title text.
text?: string;
string
Specifies the angle to which the text is oriented for the chart title. The value should either be an integer from -90 to 90 or the integer 180 for vertically-oriented text.
textOrientation?: number;
number
Specifies the distance, in points, from the top edge of chart title to the top of chart area. Value is null
if the chart title is not visible.
top?: number;
number
Specifies the vertical alignment of chart title. See Excel.ChartTextVerticalAlignment
for details.
verticalAlignment?: Excel.ChartTextVerticalAlignment | "Center" | "Bottom" | "Top" | "Justify" | "Distributed";
Excel.ChartTextVerticalAlignment | "Center" | "Bottom" | "Top" | "Justify" | "Distributed"
Specifies if the chart title is visible.
visible?: boolean;
boolean
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