Class Axis
Base class for chart axes.
Inherited Members
Namespace: DRIT.Spreadsheet.Chart
Assembly: DRIT.Spreadsheet.dll
Syntax
public abstract class Axis
Constructors
Axis(SheetChart)
Initializes a new instance of the Axis class.
Declaration
protected Axis(SheetChart chart)
Parameters
| Type | Name | Description |
|---|---|---|
| SheetChart | chart | The chart. |
Properties
Deleted
Gets or sets whether the axis is deleted.
Declaration
public bool Deleted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Fill
Gets the fill formatting.
Declaration
public Fill Fill { get; }
Property Value
| Type | Description |
|---|---|
| Fill |
FormattedText
Specifies the formatted text for axis labels.
Declaration
public FormattedText FormattedText { get; }
Property Value
| Type | Description |
|---|---|
| FormattedText |
LabelPosition
Specifies the label position.
Declaration
public AxisLabelPosition LabelPosition { get; set; }
Property Value
| Type | Description |
|---|---|
| AxisLabelPosition |
Line
Gets the line formatting.
Declaration
public ChartLine Line { get; }
Property Value
| Type | Description |
|---|---|
| ChartLine |
MajorGridLines
Specifies the major gridlines.
Declaration
public Gridlines MajorGridLines { get; set; }
Property Value
| Type | Description |
|---|---|
| Gridlines |
MinorGridLines
Specifies the minor gridlines.
Declaration
public Gridlines MinorGridLines { get; set; }
Property Value
| Type | Description |
|---|---|
| Gridlines |
NumberFormat
Specifies the number format.
Declaration
public Format NumberFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| Format |
NumberFormatSourceLinked
Gets or sets whether the number format is linked to the source.
Declaration
public bool NumberFormatSourceLinked { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ReverseOrder
Gets or sets whether to reverse the axis order.
Declaration
public bool ReverseOrder { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
TickMarks
Gets the tick marks.
Declaration
public TickMarks TickMarks { get; }
Property Value
| Type | Description |
|---|---|
| TickMarks |
Title
Specifies the axis title.
Declaration
public Title Title { get; }
Property Value
| Type | Description |
|---|---|
| Title |
Methods
AddTitle()
Adds a default title to the axis.
Declaration
public void AddTitle()
RemoveTitle()
Removes the axis title.
Declaration
public void RemoveTitle()