Axis in WinUI Chart (SfCartesianChart)

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.

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

  • Category
  • Numeric
  • DateTime

Key features

  • Axis supports different types of axis such as Category, Numeric, and DateTime.
  • Allows you to customize chart axis elements such as gridlines and tick lines, and supports customizing the style of the axis line by defining the AxisLineStyle.
  • Axis allows you to customize the origin of the chart axis.
  • Provides options to set padding for the axis and the axis’s visible range.
  • Multiple axes support provides a way to arrange multiple series inside the same chart area, giving more space for the X and Y axes.

See Also