Manage Axes of Excel Charts

Axis Options

Aspose.Cells for Python via .NET also allows you to manage charts' axes at runtime, with the Axis object you can change all options of the axis as in Excel.

|todo:image_alt_text|

Manage X and Y Axes

In an Excel chart, horizontal and vertical axes are the two most commonly used axes.

The following code snippet demonstrates how to set the options of X and Y axes.

Advanced topics

  • Change Tick Label Direction
  • Determine which Axis exists in the Chart
  • Handle Automatic Units of Chart Axis like Microsoft Excel
  • Read Axis Labels after Calculating the Chart
  • How to Set Category Axis in Excel Chart