We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How can I hide an axis?

Description

In some cases the axis size can make the plot area smaller, especially on phones. This article describes how to remove axis from the SfChart to have a clear view on plot.

Solution

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

The Visibility property of the primary axis is set “Collapsed” by using XAML.

XAML

The Visibility property of the primary axis is set “Collapsed” by using code behind.

C#

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

F:\Issue Files Chart\Issue File -10 Knowledge Base\WP_ScreenShot\New Second TIme\wp_ss_20150210_0022.png

Figure 1: Chart with Hidden Primary Axis

Article ID: Published Date: Last Revised Date: Platform: Control:
5121 06/03/2015 06/03/2015 Windows Phone SfChart
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon