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;
}
}