ChartAxes Object (JavaScript API for Excel)

Represents the chart axes.

Properties

None

Relationships

Relationship Type Description Req. Set
categoryAxis ChartAxis Represents the category axis in a chart. Read-only. 1.1
seriesAxis ChartAxis Represents the series axis of a 3-dimensional chart. Read-only. 1.1
valueAxis ChartAxis Represents the value axis in an axis. Read-only. 1.1

Methods

Method Return Type Description Req. Set
getItem(type: string, group: string) ChartAxis Returns the specific axis identified by type and group. 1.7

Method Details

getItem(type: string, group: string)

Returns the specific axis identified by type and group.

Syntax

chartAxesObject.getItem(type, group);

Parameters

Parameter Type Description
type string Specifies the axis type. Possible values are: Invalid, Category, Value, Series
group string Optional. Specifies the axis group. Possible values are: Primary, Secondary

Returns

ChartAxis