Articles in this section
Category / Section

How to hide the axis of the SfChart?

1 min read

The chart axis is hidden by setting the Visibility property of the axis to Collapsed.

XAML

  <syncfusion:SfChart.PrimaryAxis >
        <syncfusion:CategoryAxis Header="Product" Visibility="Collapsed"/>
  </syncfusion:SfChart.PrimaryAxis>

 

C#

this.axisChart.PrimaryAxis.Visibility = Visibility.Collapsed;

 

The following screenshot illustrates the output for the hidden primary axis.

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied