Articles in this section
Category / Section

How to hide the axis labels in the Chart?

1 min read

Essential Chart supports to hide the axis labels by setting transparent color to the labels by using the Font property of the axis. The Font property also supports customizing font family, font weight, font size, and opacity of axis labels. The following code example illustrates this.

ASP

        <ej:Chart ID="container" runat="server">       
             <PrimaryXAxis>
                  <Font Color="transparent"></Font>
             </PrimaryXAxis>
        </ej:Chart>

The above code example displays the Chart without labels in the primary X-axis similar to the following screenshot

After hiding the X-axis labels in the Chart

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