Axis in .NET MAUI Cartesian Chart
10 Jul 20261 minute to read
ChartAxis is used to locate a data point inside the chart area. Charts typically have two axes that are used to measure and categorize data: a vertical (Y) axis, and a horizontal (X) axis.
The horizontal (X) axis supports the following types of scale:
- Category
- Numeric
- DateTime
- DateTimeCategory
- Logarithmic
The vertical (Y) axis typically uses a numerical scale, but other axis types (such as Category, DateTime, or Logarithmic) can also be assigned to it.
Key features
- Supports different types of axes such as Category, Numeric, Logarithmic, DateTime, and DateTimeCategory.
- Allows you to customize the chart axis line, grid lines, and tick lines, and to define the style of the axis line using the AxisLineStyle.
- Allows you to customize the origin of the chart axis using the Origin property.
- Provides options to set padding for the axis and the axis visible range using the PlotOffset and RangePadding properties.
- Multiple axes support provides a way to arrange multiple series inside the same chart area, giving more space for the X and Y axes.