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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Chart axis labels - how can I delte them

Thread ID:

Created:

Updated:

Platform:

Replies:

80220 Mar 23,2009 08:39 AM UTC Mar 23,2009 10:28 AM UTC Windows Forms 2
loading
Tags: Chart
Oliver G
Asked On March 23, 2009 08:39 AM UTC

Hi
I currently try to get rid of the labels of the x and y axis in a chart because I do not need them. Moreover, the chart has to grow or shrink in size, depending on what the user wants. my problem is that the chart looks ugly due to the labels if someone reduces the size.
Can someone please help?
many thanks and regards
oliver



Manimala S [Syncfusion]
Replied On March 23, 2009 08:46 AM UTC

Hi Oliver,

You can do this by setting the TickLabelsDrawingMode as UserMode

And here is the code snippet to do this.

this.chartControl1.PrimaryYAxis.TickLabelsDrawingMode = ChartAxisTickLabelDrawingMode.UserMode;

Kindly, let me know if it helps.

Thanks,
Manimala.



Oliver G
Replied On March 23, 2009 10:28 AM UTC

perfect, that is what I need. Tx a lot


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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

;