Excel.Interfaces.ChartTitleUpdateData interface

An interface for updating data on the ChartTitle object, for use in chartTitle.set({ ... }).

Properties

format

Represents the formatting of a chart title, which includes fill and font formatting.

horizontalAlignment

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 null if the chart title is not visible.

overlay

Specifies if the chart title will overlay the chart.

position

Represents the position of chart title. See Excel.ChartTitlePosition for details.

showShadow

Represents a boolean value that determines if the chart title has a shadow.

text

Specifies the chart's title text.

textOrientation

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 null if the chart title is not visible.

verticalAlignment

Specifies the vertical alignment of chart title. See Excel.ChartTextVerticalAlignment for details.

visible

Specifies if the chart title is visible.

Property Details

format

Represents the formatting of a chart title, which includes fill and font formatting.

format?: Excel.Interfaces.ChartTitleFormatUpdateData;

Property Value

Remarks

[ API set: ExcelApi 1.1 ]

horizontalAlignment

Specifies the horizontal alignment for chart title.

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

Property Value

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

Remarks

[ API set: ExcelApi 1.7 ]

left

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;

Property Value

number

Remarks

[ API set: ExcelApi 1.7 ]

overlay

Specifies if the chart title will overlay the chart.

overlay?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.1 ]

position

Represents the position of chart title. See Excel.ChartTitlePosition for details.

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

Property Value

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

Remarks

[ API set: ExcelApi 1.7 ]

showShadow

Represents a boolean value that determines if the chart title has a shadow.

showShadow?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

text

Specifies the chart's title text.

text?: string;

Property Value

string

Remarks

[ API set: ExcelApi 1.1 ]

textOrientation

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;

Property Value

number

Remarks

[ API set: ExcelApi 1.7 ]

top

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;

Property Value

number

Remarks

[ API set: ExcelApi 1.7 ]

verticalAlignment

Specifies the vertical alignment of chart title. See Excel.ChartTextVerticalAlignment for details.

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

Property Value

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

Remarks

[ API set: ExcelApi 1.7 ]

visible

Specifies if the chart title is visible.

visible?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.1 ]