Axis Class

The options of the axis of a position scale.

public sealed class Axis

Constructors

NameDescription
Axis()

Axis()

Axis.cs
public Axis()

No documentation is available.

Properties

NameDescription
GridGets or sets a value that indicates whether grid lines are drawn at the ticks, or null for the default: on for the axis of the y scale when it is continuous (in polar coordinates, on for both axes), off otherwise.
LabelGets or sets the label of the axis, or null for none.
LineGets or sets a value that indicates whether the line of the axis is drawn, or null for the default: drawn for the horizontal axis of Cartesian coordinates.
TickRotationGets or sets the rotation of the tick labels in degrees, or null to rotate them by -45 degrees only when they overlap.
TickSizeGets or sets the length of the tick marks. The default is 5.
VisibleGets or sets a value that indicates whether the axis is drawn, or null for the default: drawn, except for the charts that do not use the scale as a measure (pies, hierarchies, funnels).

Gets or sets a value that indicates whether grid lines are drawn at the ticks, or null for the default: on for the axis of the y scale when it is continuous (in polar coordinates, on for both axes), off otherwise.

public bool? Grid { get; set; }

Property value

bool?

Label

Axis.cs

Gets or sets the label of the axis, or null for none.

public string? Label { get; set; }

Property value

string?

Gets or sets a value that indicates whether the line of the axis is drawn, or null for the default: drawn for the horizontal axis of Cartesian coordinates.

public bool? Line { get; set; }

Property value

bool?

TickRotation

Axis.cs

Gets or sets the rotation of the tick labels in degrees, or null to rotate them by -45 degrees only when they overlap.

public double? TickRotation { get; set; }

Property value

double?

TickSize

Axis.cs

Gets or sets the length of the tick marks. The default is 5.

public double TickSize { get; set; }

Property value

double

Visible

Axis.cs

Gets or sets a value that indicates whether the axis is drawn, or null for the default: drawn, except for the charts that do not use the scale as a measure (pies, hierarchies, funnels).

public bool? Visible { get; set; }

Property value

bool?