Represents a single axis in a chart.

Inheritance

object

Inherited from: ChartObject

Returns the owning chart (read-only)

public WorksheetChart Chart { get; }

Inherited from: ChartObject

returns this object's owner. (read-only)

public ChartObject Owner { get; }

Inherited from: ChartObject

The owning sheet (read-only)

public Sheet Sheet { get; }

Inherited from: ChartObject

The owning workbook (read-only)

public Workbook Workbook { get; }

Inherited from: ChartObject

The owning worksheet (read-only)

public Worksheet Worksheet { get; }

True if the value axis crosses the category axis between categories.

public bool AxisBetweenCategories { get; set; }

Returns the group for the specified axis. Read-only

public AxisGroup AxisGroup { get; }

Returns or sets a object that represents the title of the axis.

public ChartTitle AxisTitle { get; set; }

Returns or sets the base unit for the axis.

public TimeUnit BaseUnit { get; set; }

True if Excel chooses appropriate base units for the specified category axis. The default value is True.

public bool BaseUnitIsAuto { get; set; }

Returns or sets the category axis type.

public CategoryType CategoryType { get; set; }

Returns or sets the point on the specified axis where the other axis crosses.

public AxisCrosses Crosses { get; set; }

Returns or sets the point on the at which the perpendicular axis intersects it.

public double CrossesAt { get; set; }

Returns or sets the unit label for the value axis.

public DisplayUnit DisplayUnit { get; set; }

If the value of the DisplayUnit property 'Custom' , the DisplayUnitCustom property returns or sets the value of the displayed units. The value must be from 0 through 10E307

public double DisplayUnitCustom { get; set; }

Returns or sets an object.

public DisplayUnitLabel DisplayUnitLabel { get; set; }

Returns or sets a value indicating the width of the gaps between data points or series, expressed as a percentage.

public double? GapWidth { get; set; }

Returns or sets the base of the logarithm when you are using log scales.

public double LogBase { get; set; }

Returns a object which defines the color and weight of the major ticklines.

public ChartGridLines MajorGridLines { get; set; }

Returns or sets the type of major tick mark for the specified axis.

public TickMark MajorTickMark { get; set; }

Returns the major interval unit.

public double MajorUnit { get; }

True if Excel calculates the major units for the value axis.

public bool MajorUnitIsAuto { get; set; }

Returns or sets the major unit scale value for the category axis when the property is set to 'TimeScale'.

public TimeUnit MajorUnitScale { get; set; }

Returns or sets the maximum value on the value axis.

public double MaximumScale { get; set; }

True if Excel calculates the maximum value for the value axis.

public bool MaximumScaleIsAuto { get; set; }

Returns or sets the minimum value on the value axis.

public double MinimumScale { get; set; }

True if Excel calculates the minimum value for the value axis.

public bool MinimumScaleIsAuto { get; set; }

Returns a object which defines the color and weight of the minor ticklines.

public ChartGridLines MinorGridLines { get; set; }

Returns or sets the type of minor tick mark for the specified axis.

public TickMark MinorTickMark { get; set; }

Returns the minor interval unit.

public double MinorUnit { get; }

True if Excel calculates the minor units for the value axis.

public bool MinorUnitIsAuto { get; set; }

Returns or sets the minor unit scale value for the category axis when the property is set to 'TimeScale'.

public TimeUnit MinorUnitScale { get; set; }

Returns or sets an value which determines the placement of the axis as relative to the chart space.

public AxisPosition Position { get; set; }

True if Excel plots data points from last to first.

public bool ReversePlotOrder { get; set; }

Returns or sets a value indicating whether the axis scale is linear or logarithmic.

public ScaleType ScaleType { get; set; }

Describes the position of tick-mark labels on the specified axis.

public TickLabelPosition TickLabelPosition { get; set; }

Returns or sets the number of categories or series between tick-mark labels. Applies only to category and series axes. Can be a value from 1 through 31999.

public int TickLabelSpacing { get; set; }

Returns or sets whether or not the tick label spacing is automatic.

public bool TickLabelSpacingIsAuto { get; set; }

Returns a TickLabels object that represents the tick-mark labels for the specified axis. Read-only.

public TickLabels TickLabels { get; }

Determines the appearance of the tick lines.

public ChartTickLines TickLines { get; set; }

Returns or sets the number of categories or series between tick marks. Applies only to category and series axes. Can be a value from 1 through 31999.

public int TickMarkSpacing { get; set; }

Returns the type of the axis (read-only)

public AxisType Type { get; }

Returns or sets whether or not the axis is visible.

public bool Visible { get; set; }

Sets the values of the and properties.

public void SetMajorMinorUnit(double majorUnit, double minorUnit)

Parameters

  • majorUnit: double
  • minorUnit: double

Returns any