[]
        
(Showing Draft Content)

C1.Blazor.Chart.Axis

Axis Class

Represents an axis in the chart.

Inheritance
Axis
Namespace: C1.Blazor.Chart
Assembly: C1.Blazor.Chart.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Axis : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender

Constructors

Name Description
Axis()

Creates a new instance of an Axis object.

Properties

Name Description
ActualMajorUnit

Gets the actual axis major unit.

ActualMax

Gets the current axis maximum.

ActualMin

Gets the current axis minimum.

ActualMinorUnit

Gets the actual axis major unit.

AxisLine

Gets or sets a value indicating whether the axis line is visible.

AxisType

Gets or sets the axis type.

Binding

Gets or sets the comma-separated property names for the DataSource property to use in axis labels.

DataSource

Gets or sets the items source for the axis labels.

Format

Gets or sets the format string used for the axis labels.

GroupItemsPath

Gets or sets the items path.

GroupNames

Gets or sets the group names.

GroupProvider

Gets or sets the group provider.

GroupSeparator

Gets or sets the group separators.

GroupStyle

Gets the axis group style.

GroupTitleAlignment

Gets or sets the group title alignment.

GroupVisibilityLevel

Gets or sets the limiting level of visible collapsible groups.

LabelAlignment

Gets or sets the alignment of axis labels.

LabelAngle

Gets or sets the rotation angle of the axis labels.

LabelMax

Gets or sets whether the maximum axis value is always labeled.

LabelMin

Gets or sets whether the minimum axis value is always labeled.

Labels

Gets or sets a value indicating whether the axis labels are visible.

LogBase

Gets or sets the logarithmic base of the axis.

MajorGrid

Gets or sets a value indicating whether the axis includes grid lines.

MajorGridStyle

Gets the major grid style.

MajorTickMarks

Gets or sets the location of the axis tick marks.

MajorUnit

Gets or sets the number of units between axis labels.

Max

Gets or sets the maximum value shown on the axis.

Min

Gets or sets the minimum value shown on the axis.

MinorGrid

Gets or sets a value indicating whether the axis includes minor grid lines.

MinorGridStyle

Gets the minor grid style.

MinorTickMarks

Gets or sets the location of the axis minor tick marks.

MinorUnit

Gets or sets the number of units between minor ticks and grid lines.

Name

Gets or sets the axis name.

Origin

Gets or sets the value at which an axis crosses the perpendicular axis.

OverlappingLabels

Gets or sets a value indicating how to handle the overlapping axis labels.

PlotAreaName

Gets or sets the name of plot area for the axis.

Position

Gets or sets the axis position.

Reversed

Gets or sets a value indicating whether the axis is reversed (top to bottom or right to left).

Scrollbar

Gets or sets the axis scrollbar.

StaggeredLines

Gets or sets the number of staggered lines for axis labels.

Style

Gets the axis style.

TickLength

Gets or sets the tick length.

TimeUnit

Gets or sets the units for a time based axis.

Title

Gets or sets the title text shown next to the axis.

TitleStyle

Gets the axis title style.

Methods

Name Description
Convert(double)

Converts the specified value from data to pixel coordinates.

ConvertBack(double)

Converts the specified value from pixel to data coordinates.

GetHeight(IRenderEngine, double)

Gets the axis height.