Excel.Interfaces.ChartAxisLoadOptions interface
Represents a single axis in a chart.
Remarks
Properties
$all | Specifying |
axis |
Specifies the group for the specified axis. See |
base |
Specifies the base unit for the specified category axis. |
category |
Specifies the category axis type. |
custom |
Specifies the custom axis display unit value. To set this property, please use the |
display |
Represents the axis display unit. See |
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 |
left | Specifies the distance, in points, from the left edge of the axis to the left of chart area. Returns |
log |
Specifies the base of the logarithm when using logarithmic scales. |
major |
Returns an object that represents the major gridlines for the specified axis. |
major |
Specifies the type of major tick mark for the specified axis. See |
major |
Specifies the major unit scale value for the category axis when the |
major |
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. |
minor |
Returns an object that represents the minor gridlines for the specified axis. |
minor |
Specifies the type of minor tick mark for the specified axis. See |
minor |
Specifies the minor unit scale value for the category axis when the |
minor |
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. |
reverse |
Specifies if Excel plots data points from last to first. |
scale |
Specifies the value axis scale type. See |
show |
Specifies if the axis display unit label is visible. |
tick |
Specifies the position of tick-mark labels on the specified axis. See |
tick |
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. |
tick |
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 |
type | Specifies the axis type. See |
visible | Specifies if the axis is visible. |
width | Specifies the width, in points, of the chart axis. Returns |
Property Details
$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
).
$all?: boolean;
Property Value
boolean
axisGroup
Specifies the group for the specified axis. See Excel.ChartAxisGroup
for details.
axisGroup?: boolean;
Property Value
boolean
Remarks
baseTimeUnit
Specifies the base unit for the specified category axis.
baseTimeUnit?: boolean;
Property Value
boolean
Remarks
categoryType
Specifies the category axis type.
categoryType?: boolean;
Property Value
boolean
Remarks
customDisplayUnit
Specifies the custom axis display unit value. To set this property, please use the SetCustomDisplayUnit(double)
method.
customDisplayUnit?: boolean;
Property Value
boolean
Remarks
displayUnit
Represents the axis display unit. See Excel.ChartAxisDisplayUnit
for details.
displayUnit?: boolean;
Property Value
boolean
Remarks
format
Represents the formatting of a chart object, which includes line and font formatting.
format?: Excel.Interfaces.ChartAxisFormatLoadOptions;
Property Value
Remarks
height
Specifies the height, in points, of the chart axis. Returns null
if the axis is not visible.
height?: boolean;
Property Value
boolean
Remarks
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.
left?: boolean;
Property Value
boolean
Remarks
logBase
Specifies the base of the logarithm when using logarithmic scales.
logBase?: boolean;
Property Value
boolean
Remarks
majorGridlines
Returns an object that represents the major gridlines for the specified axis.
majorGridlines?: Excel.Interfaces.ChartGridlinesLoadOptions;
Property Value
Remarks
majorTickMark
Specifies the type of major tick mark for the specified axis. See Excel.ChartAxisTickMark
for details.
majorTickMark?: boolean;
Property Value
boolean
Remarks
majorTimeUnitScale
Specifies the major unit scale value for the category axis when the categoryType
property is set to dateAxis
.
majorTimeUnitScale?: boolean;
Property Value
boolean
Remarks
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.
majorUnit?: boolean;
Property Value
boolean
Remarks
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.
maximum?: boolean;
Property Value
boolean
Remarks
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.
minimum?: boolean;
Property Value
boolean
Remarks
minorGridlines
Returns an object that represents the minor gridlines for the specified axis.
minorGridlines?: Excel.Interfaces.ChartGridlinesLoadOptions;
Property Value
Remarks
minorTickMark
Specifies the type of minor tick mark for the specified axis. See Excel.ChartAxisTickMark
for details.
minorTickMark?: boolean;
Property Value
boolean
Remarks
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
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.
minorUnit?: boolean;
Property Value
boolean
Remarks
reversePlotOrder
Specifies if Excel plots data points from last to first.
reversePlotOrder?: boolean;
Property Value
boolean
Remarks
scaleType
Specifies the value axis scale type. See Excel.ChartAxisScaleType
for details.
scaleType?: boolean;
Property Value
boolean
Remarks
showDisplayUnitLabel
Specifies if the axis display unit label is visible.
showDisplayUnitLabel?: boolean;
Property Value
boolean
Remarks
tickLabelPosition
Specifies the position of tick-mark labels on the specified axis. See Excel.ChartAxisTickLabelPosition
for details.
tickLabelPosition?: boolean;
Property Value
boolean
Remarks
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.
tickLabelSpacing?: boolean;
Property Value
boolean
Remarks
tickMarkSpacing
Specifies the number of categories or series between tick marks.
tickMarkSpacing?: boolean;
Property Value
boolean
Remarks
title
Represents the axis title.
title?: Excel.Interfaces.ChartAxisTitleLoadOptions;
Property Value
Remarks
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.
top?: boolean;
Property Value
boolean
Remarks
type
Specifies the axis type. See Excel.ChartAxisType
for details.
type?: boolean;
Property Value
boolean
Remarks
visible
Specifies if the axis is visible.
visible?: boolean;
Property Value
boolean
Remarks
width
Specifies the width, in points, of the chart axis. Returns null
if the axis is not visible.
width?: boolean;
Property Value
boolean
Remarks
Office Add-ins