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

column chart

I am using syncfusion 5.2 chart control with chart type as "column". I don't want any text on the X axis, this i achieved but the points are still visible on X axis. Can you please help me how to remove points on the X axis.
Please find the attached image of exactly what i want. The points marked in red is what is not desired in my column graph.



Problem1_1f14e643.zip

1 Reply

MA Manohari Syncfusion Team June 26, 2008 05:15 PM UTC

Hi Prabhjeet,

Thanks for the screenshot. It is possible to hide the Ticks in the X-Axis by setting the TickSize of Axis to Zero or by setting the TickColor to Transparent.

Example:

1) this.chartControl1.PrimaryXAxis.TickSize = new Size(0,0); // sets TickSize to zero

2) this.chartControl1.PrimaryXAxis.TickColor = Color.Transparent; // sets TickColor as Transparent.

I have attached the sample illustrating the same in the link below.

http://websamples.syncfusion.com/samples/Chart.Windows/F74696/main.htm

Kindly let us know if this meets your requirements. Thanks for your patience.

Regards,
Manohari.R


Loader.
Live Chat Icon For mobile
Up arrow icon