ExcelChartCategoryAxis Class

Represents the category axis (horizontal axis) of a chart

Definition

Namespace: Winnovative.ExcelLib
Assembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
C#
public class ExcelChartCategoryAxis
Inheritance
Object    ExcelChartCategoryAxis

Properties

AutoBaseTimeUnitScale Gets or sets a flag indicating if the base unit is automatically selected for the category axis. It is used when the CategoryAxisType is TimeScale.
BaseTimeUnitScale Gets or sets the base unit scale for the category axis. It is used only when the CategoryAxisType is TimeScale. The default value is Days.
CategoriesInReverseOrder Gets or sets a flag indicating if the cateories are plotted in reverse order on the category axis.
CategoryAxisType Gets or sets the category axis type. The default type is AutomaticScale.
CategoryLabelsInterval Gets or sets the number of categories between labels on category axis. Set this property with 1 to display a label for every category, 2 to display a label for every other category, 3 to display a label for every third category, and so on
CategoryLabelsPosition Gets or sets the category axis labels position. Default value is NextToAxis.
CategoryLabelsRotation Gets or sets the rotation angle of the axis labels as a value between -90 and 90. A positive value will rotate the labels clockwise and the negative values will rotate the text counter-clockwise.
CategoryNamesRange Gets or sets the range from where the category names are taken.
Font Gets the category axis font. The returned object can be used to set the properties of the Font used for the cateory axis labels.
LineStyle Gets the category axis line style.
MajorGridLinesStyle Gets the category axis major grid lines. The returned object can be used to set the category axis major grid lines color, dash type and weight.
MajorTickMarkType Gets or sets the minor tick marks type
MajorTimeUnitScale Gets or sets the major unit scale for the category axis. It is used when the CategoryAxisType is TimeScale. The default value is Days.
MinorGridLinesStyle Gets the category axis minor grid lines. The returned object can be used to set the category axis minor grid lines color, dash type and weight.
MinorTickMarkType Gets or sets the minor tick marks type
MinorTimeUnitScale Gets or sets the minor unit scale for the category axis. It is used when the CategoryAxisType is TimeScale.
ShowMajorGridLines Gets or sets a flag indicating if the minor grid lines are displayed in chart. The default value is false.
ShowMinorGridLines Gets or sets a flag indicating if the minor grid lines are displayed in chart. The default value is false.
TickMarksInterval Gets or sets the number of categories between tick marks on category axis.
Title Gets the category axis title box. The returned object can be used to set the title text, font, color, background and pattern.

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also