Excel.Interfaces.ChartAxisLoadOptions interface

Warning

This API is now deprecated.

Represents a single axis in a chart.

Remarks

[ API set: ExcelApi 1.1 ]

Properties

$all

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

alignment

Specifies the alignment for the specified axis tick label. See Excel.ChartTextHorizontalAlignment for detail.

axisGroup

Specifies the group for the specified axis. See Excel.ChartAxisGroup for details.

baseTimeUnit

Specifies the base unit for the specified category axis.

categoryType

Specifies the category axis type.

customDisplayUnit

Specifies the custom axis display unit value. To set this property, please use the SetCustomDisplayUnit(double) method.

displayUnit

Represents the axis display unit. See Excel.ChartAxisDisplayUnit for details.

format

Represents the formatting of a chart object, which includes line and font formatting.

height

Specifies the height, in points, of the chart axis. Returns null if the axis is not visible.

isBetweenCategories

Specifies if the value axis crosses the category axis between categories.

left

Specifies the distance, in points, from the left edge of the axis to the left of chart area. Returns null if the axis is not visible.

logBase

Specifies the base of the logarithm when using logarithmic scales.

majorGridlines

Returns an object that represents the major gridlines for the specified axis.

majorTickMark

Specifies the type of major tick mark for the specified axis. See Excel.ChartAxisTickMark for details.

majorTimeUnitScale

Specifies the major unit scale value for the category axis when the categoryType property is set to dateAxis.

majorUnit

Represents the interval between two major tick marks. Can be set to a numeric value or an empty string. The returned value is always a number.

maximum

Represents the maximum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number.

minimum

Represents the minimum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number.

minorGridlines

Returns an object that represents the minor gridlines for the specified axis.

minorTickMark

Specifies the type of minor tick mark for the specified axis. See Excel.ChartAxisTickMark for details.

minorTimeUnitScale

Specifies the minor unit scale value for the category axis when the categoryType property is set to dateAxis.

minorUnit

Represents the interval between two minor tick marks. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number.

multiLevel

Specifies if an axis is multilevel.

numberFormat

Specifies the format code for the axis tick label.

offset

Specifies the distance between the levels of labels, and the distance between the first level and the axis line. The value should be an integer from 0 to 1000.

position

Specifies the specified axis position where the other axis crosses. See Excel.ChartAxisPosition for details.

positionAt

Specifies the axis position where the other axis crosses. You should use the SetPositionAt(double) method to set this property.

reversePlotOrder

Specifies if Excel plots data points from last to first.

scaleType

Specifies the value axis scale type. See Excel.ChartAxisScaleType for details.

showDisplayUnitLabel

Specifies if the axis display unit label is visible.

textOrientation

Specifies the angle to which the text is oriented for the chart axis tick label. The value should either be an integer from -90 to 90 or the integer 180 for vertically-oriented text.

tickLabelPosition

Specifies the position of tick-mark labels on the specified axis. See Excel.ChartAxisTickLabelPosition for details.

tickLabelSpacing

Specifies the number of categories or series between tick-mark labels. Can be a value from 1 through 31999 or an empty string for automatic setting. The returned value is always a number.

tickMarkSpacing

Specifies the number of categories or series between tick marks.

title

Represents the axis title.

top

Specifies the distance, in points, from the top edge of the axis to the top of chart area. Returns null if the axis is not visible.

type

Specifies the axis type. See Excel.ChartAxisType for details.

visible

Specifies if the axis is visible.

width

Specifies the width, in points, of the chart axis. Returns null if the axis is not visible.

Property Details

$all

Warning

This API is now deprecated.

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

$all?: boolean;

Property Value

boolean

alignment

Warning

This API is now deprecated.

Specifies the alignment for the specified axis tick label. See Excel.ChartTextHorizontalAlignment for detail.

alignment?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.8 ]

axisGroup

Warning

This API is now deprecated.

Specifies the group for the specified axis. See Excel.ChartAxisGroup for details.

axisGroup?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

baseTimeUnit

Warning

This API is now deprecated.

Specifies the base unit for the specified category axis.

baseTimeUnit?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

categoryType

Warning

This API is now deprecated.

Specifies the category axis type.

categoryType?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

customDisplayUnit

Warning

This API is now deprecated.

Specifies the custom axis display unit value. To set this property, please use the SetCustomDisplayUnit(double) method.

customDisplayUnit?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

displayUnit

Warning

This API is now deprecated.

Represents the axis display unit. See Excel.ChartAxisDisplayUnit for details.

displayUnit?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

format

Warning

This API is now deprecated.

Represents the formatting of a chart object, which includes line and font formatting.

format?: Excel.Interfaces.ChartAxisFormatLoadOptions;

Property Value

Remarks

[ API set: ExcelApi 1.1 ]

height

Warning

This API is now deprecated.

Specifies the height, in points, of the chart axis. Returns null if the axis is not visible.

height?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

isBetweenCategories

Warning

This API is now deprecated.

Specifies if the value axis crosses the category axis between categories.

isBetweenCategories?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.8 ]

left

Warning

This API is now deprecated.

Specifies the distance, in points, from the left edge of the axis to the left of chart area. Returns null if the axis is not visible.

left?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

logBase

Warning

This API is now deprecated.

Specifies the base of the logarithm when using logarithmic scales.

logBase?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

majorGridlines

Warning

This API is now deprecated.

Returns an object that represents the major gridlines for the specified axis.

majorGridlines?: Excel.Interfaces.ChartGridlinesLoadOptions;

Property Value

Remarks

[ API set: ExcelApi 1.1 ]

majorTickMark

Specifies the type of major tick mark for the specified axis. See Excel.ChartAxisTickMark for details.

majorTickMark?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

majorTimeUnitScale

Warning

This API is now deprecated.

Specifies the major unit scale value for the category axis when the categoryType property is set to dateAxis.

majorTimeUnitScale?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

majorUnit

Warning

This API is now deprecated.

Represents the interval between two major tick marks. Can be set to a numeric value or an empty string. The returned value is always a number.

majorUnit?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.1 ]

maximum

Warning

This API is now deprecated.

Represents the maximum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number.

maximum?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.1 ]

minimum

Warning

This API is now deprecated.

Represents the minimum value on the value axis. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number.

minimum?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.1 ]

minorGridlines

Warning

This API is now deprecated.

Returns an object that represents the minor gridlines for the specified axis.

minorGridlines?: Excel.Interfaces.ChartGridlinesLoadOptions;

Property Value

Remarks

[ API set: ExcelApi 1.1 ]

minorTickMark

Warning

This API is now deprecated.

Specifies the type of minor tick mark for the specified axis. See Excel.ChartAxisTickMark for details.

minorTickMark?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

minorTimeUnitScale

Specifies the minor unit scale value for the category axis when the categoryType property is set to dateAxis.

minorTimeUnitScale?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

minorUnit

Warning

This API is now deprecated.

Represents the interval between two minor tick marks. Can be set to a numeric value or an empty string (for automatic axis values). The returned value is always a number.

minorUnit?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.1 ]

multiLevel

Warning

This API is now deprecated.

Specifies if an axis is multilevel.

multiLevel?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.8 ]

numberFormat

Warning

This API is now deprecated.

Specifies the format code for the axis tick label.

numberFormat?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.8 ]

offset

Warning

This API is now deprecated.

Specifies the distance between the levels of labels, and the distance between the first level and the axis line. The value should be an integer from 0 to 1000.

offset?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.8 ]

position

Warning

This API is now deprecated.

Specifies the specified axis position where the other axis crosses. See Excel.ChartAxisPosition for details.

position?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.8 ]

positionAt

Warning

This API is now deprecated.

Specifies the axis position where the other axis crosses. You should use the SetPositionAt(double) method to set this property.

positionAt?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.8 ]

reversePlotOrder

Warning

This API is now deprecated.

Specifies if Excel plots data points from last to first.

reversePlotOrder?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

scaleType

Warning

This API is now deprecated.

Specifies the value axis scale type. See Excel.ChartAxisScaleType for details.

scaleType?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

showDisplayUnitLabel

Warning

This API is now deprecated.

Specifies if the axis display unit label is visible.

showDisplayUnitLabel?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

textOrientation

Warning

This API is now deprecated.

Specifies the angle to which the text is oriented for the chart axis tick label. The value should either be an integer from -90 to 90 or the integer 180 for vertically-oriented text.

textOrientation?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.8 ]

tickLabelPosition

Warning

This API is now deprecated.

Specifies the position of tick-mark labels on the specified axis. See Excel.ChartAxisTickLabelPosition for details.

tickLabelPosition?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

tickLabelSpacing

Warning

This API is now deprecated.

Specifies the number of categories or series between tick-mark labels. Can be a value from 1 through 31999 or an empty string for automatic setting. The returned value is always a number.

tickLabelSpacing?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

tickMarkSpacing

Warning

This API is now deprecated.

Specifies the number of categories or series between tick marks.

tickMarkSpacing?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

title

Warning

This API is now deprecated.

Represents the axis title.

title?: Excel.Interfaces.ChartAxisTitleLoadOptions;

Property Value

Remarks

[ API set: ExcelApi 1.1 ]

top

Warning

This API is now deprecated.

Specifies the distance, in points, from the top edge of the axis to the top of chart area. Returns null if the axis is not visible.

top?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

type

Warning

This API is now deprecated.

Specifies the axis type. See Excel.ChartAxisType for details.

type?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

visible

Warning

This API is now deprecated.

Specifies if the axis is visible.

visible?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]

width

Warning

This API is now deprecated.

Specifies the width, in points, of the chart axis. Returns null if the axis is not visible.

width?: boolean;

Property Value

boolean

Remarks

[ API set: ExcelApi 1.7 ]