Axis class¶
Serves as the base class for chart axes, which map data values to screen positions and supply labels, tickmarks, and gridlines.
Namespace: Eremex.AvaloniaUI.Charts
Assembly: Eremex.Avalonia.Charts.dll
NuGet Package: Eremex.Avalonia.Controls
Declaration¶
Public Members¶
| name | description |
|---|---|
| Color { get; set; } | Gets or sets the color of the axis line, tickmarks, labels, and title. |
| ConstantLines { get; } | Gets the constant lines drawn on the axis. |
| ConstantLinesSource { get; set; } | Gets or sets the collection of source items used to fill the ConstantLines collection. |
| ConstantLineTemplate { get; set; } | Gets or sets the template used to create constant lines from the ConstantLinesSource collection. |
| ElementsOffset { get; set; } | Gets or sets the indentation between the axis line and the drawing area, in device-independent pixels. |
| EnableScrolling { get; set; } | Gets or sets whether users can scroll the axis range with the mouse or the keyboard. |
| EnableZooming { get; set; } | Gets or sets whether users can zoom the axis range with the mouse or the keyboard. |
| InterlacingColor { get; set; } | Gets or sets the color of the alternating bands drawn between the major gridlines. |
| MajorGridlinesColor { get; set; } | Gets or sets the color of the major gridlines. |
| MajorGridlinesWidth { get; set; } | Gets or sets the thickness of the major gridlines, in device-independent pixels. |
| MajorTickmarksLength { get; set; } | Gets or sets the length of the major tickmarks, in device-independent pixels. |
| MinorCount { get; set; } | Gets or sets the number of minor intervals between two major tickmarks. |
| MinorGridlinesColor { get; set; } | Gets or sets the color of the minor gridlines. |
| MinorGridlinesWidth { get; set; } | Gets or sets the thickness of the minor gridlines, in device-independent pixels. |
| MinorTickmarksLength { get; set; } | Gets or sets the length of the minor tickmarks, in device-independent pixels. |
| ShowAxisLine { get; set; } | Gets or sets whether the axis line is displayed. |
| ShowInterlacing { get; set; } | Gets or sets whether the drawing area is interlaced between the major gridlines. |
| ShowLabels { get; set; } | Gets or sets whether the axis labels are displayed. |
| ShowMajorGridlines { get; set; } | Gets or sets whether major gridlines are displayed. If the value is null, gridlines are displayed for the first axis only. |
| ShowMajorTickmarks { get; set; } | Gets or sets whether major tickmarks are displayed. |
| ShowMinorGridlines { get; set; } | Gets or sets whether minor gridlines are displayed. If the value is null, gridlines are displayed for the first axis only. |
| ShowMinorTickmarks { get; set; } | Gets or sets whether minor tickmarks are displayed. |
| Strips { get; } | Gets the strips drawn on the axis. |
| StripsSource { get; set; } | Gets or sets the collection of source items used to fill the Strips collection. |
| StripTemplate { get; set; } | Gets or sets the template used to create strips from the StripsSource collection. |
| Thickness { get; set; } | Gets or sets the thickness of the axis line, in device-independent pixels. |
See Also¶
- class ChartElement
- namespace Eremex.AvaloniaUI.Charts