Axis in .NET MAUI Chart

29 Oct 20241 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.

Vertical(Y) axis always uses numerical scale. Horizontal(X) axis supports the following types of scale:

  • Category
  • Numeric
  • Date time
  • Logarithm

Key features

  • Axis supports different type of axis such as Category, Numeric, Logarithmic and Date time.
  • Allow you to customize the chart axis line such as grid lines, tick lines, and support to customize the style of the axis line by defining the AxisLineStyle.
  • Axis allow you to customize the origin of the chart axis.
  • Provides options to set padding for axis and axis visible range.
  • Multiple axes support provides a way to arrange multiple series inside the same chart area, gives more space for X and Y axis.