Sparkline for UWP | ComponentOne
Sparkline for UWP Task-Based Help / Displaying the X-Axis
In This Topic
    Displaying the X-Axis
    In This Topic

    You can easily display the X-axis for your C1Sparkline control.

    In XAML

    To display the X-Axis using XAML markup, add the following to your <c1:C1Sparkline> tag:

    Markup
    Copy Code
    DisplayXAxis = "True"
    

    In Code

    To display the X-Axis using code, add the following to your InitializeComponent() method:

    C#
    Copy Code
    sparkline.DisplayXAxis = true;
    
    See Also