ComponentOne Sparkline for WPF
Sparkline for WPF Overview / Features / Axes
In This Topic
    In This Topic

    By default, the Sparkline control renders without any axis. However, Sparkline supports an x-axis, which can either be displayed or kept hidden as per the user requirements. By default, the x-axis remains hidden in Sparkline. 

    To display x-axis, you can set the DisplayXAxis property to true. Here is how a Sparkline control with x-axis appears.

    Sparkline with X-axis

    In XAML

    Copy Code
    <c1:C1Sparkline x:Name="sparkline" Height="250" Width="250" DisplayXAxis="True" /> 

    In Code

    'Displaying x-axis
    sparkline.DisplayXAxis = True
    //Displaying x-axis
    sparkline.DisplayXAxis = true;