Articles in this section
Category / Section

How can I remove/hide the axes labels?

1 min read

 

ChartFormatAxisLabel Event in ChartWebControl support to Hide primary XAxis and also YAxis Labels.

The following code snippet illustrates how to hide/remove the Axes Labels in ChartWebControl.

C#

private void ChartWebControl1_ChartFormatAxisLabel(object sender, Syncfusion.Windows.Forms.Chart.ChartFormatAxisLabelEventArgs e)

  {

if(e.AxisOrientation==ChartOrientation.Vertical)

   {

    e.Label="";

    e.Handled=true;

   }

  }

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