Articles in this section

How can I remove/hide the axes labels?

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)
Access denied
Access denied