ComponentOne FlexChart for UWP
FlexChart / Working with FlexChart / FlexChart Elements / FlexChart Axes
In This Topic
    FlexChart Axes
    In This Topic

    Charts generally have two axes for measuring and categorizing data: a vertical axis (Y-axis) and a horizontal axis (X-axis). The vertical axis is also known as value axis, and the horizontal axis is also called category axis.

    Not all charts depict axes in the same manner. For instance, Scatter charts and Bubble charts depict numeric values on the vertical axis as well as the horizontal axis to represent discreet or continuous numerical data. A real-time example could be how Internet Usage (Hours per Week) is plotted against different Age Groups. Here, both the items will have numeric values, and data points will be plotted corresponding to their numeric values on X and Y axes.

    Other charts, such as Line, Column, Bar, and Area display numeric values on the vertical axis and categories on the horizontal axis. A real-time example could be how Internet Usage (Hours per Week) is plotted against different regions. Here, regions will be textual categories plotted on the horizontal axis.

    However, FlexChart provides great flexibility, thereby allowing you to display numeric values on both X and Y axes even in case of Bar, Line, and Area charts. Also, FlexChart doesn't require any additional settings to display different types of values.

    An axis in FlexChart is represented by the Axis class. You can access the primary axes of FlexChart by using the AxisX and the AxisY property.

    The primary X-axis is rendered horizontally at the bottom, and the primary Y-axis is rendered vertically at the left. You can, however, create exceptions to this rule by customizing the primary axes and also by using multiple axes.

    While working with FlexChart, you can change the way tick marks and axes labels appear. You can even lessen the number of axes labels on X and Y axes by specifying the number of units between values on the axes. In addition, you can modify the alignment and orientation of the labels and change the format of the numbers to be depicted. You can style the axes and change their position as per your requirements as well.

    The sections, which are mentioned below, explain different customizations and modifications possible with respect to the FlexChart axes.