ChartAxis resource type

Represents a single axis in a chart.

Methods

Method Return Type Description
Get ChartAxis WorkbookChartAxis Read properties and relationships of chartAxis object.
Update WorkbookChartAxis Update ChartAxis object.

Properties

Property Type Description
id string Unique identifier. Read-only.
majorUnit Json 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 Json 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 Json 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.
minorUnit Json 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.

Relationships

Relationship Type Description
format WorkbookChartAxisFormat Represents the formatting of a chart object, which includes line and font formatting. Read-only.
majorGridlines WorkbookChartGridlines Returns a gridlines object that represents the major gridlines for the specified axis. Read-only.
minorGridlines WorkbookChartGridlines Returns a Gridlines object that represents the minor gridlines for the specified axis. Read-only.
title WorkbookChartAxisTitle Represents the axis title. Read-only.

JSON representation

Here is a JSON representation of the resource.

{
  "id": "string",
  "majorUnit": "string",
  "maximum": "string",
  "minimum": "string",
  "minorUnit": "string",
   "format": {"@odata.type": "microsoft.graph.workbookChartAxisFormat"},
  "majorGridlines": {"@odata.type": "microsoft.graph.workbookChartGridlines"},
  "minorGridlines": {"@odata.type": "microsoft.graph.workbookChartGridlines"},
  "title": {"@odata.type": "microsoft.graph.workbookChartAxisTitle"}
}