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. Image for the cookie policy date
close icon

Chart axis labels - how can I delte them

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



2 Replies

MS Manimala S Syncfusion Team 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.




OG Oliver G March 23, 2009 10:28 AM UTC

perfect, that is what I need. Tx a lot


Loader.
Live Chat Icon For mobile
Up arrow icon