Manage Axes of Excel Charts

Axis Options

Aspose.Cells also allows you to manage a chart’s axes at runtime. With the Axis object, you can change all options of an axis as done 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