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

setting Y Axis minor unit in a column chart

Hello

Please tell me how to set minor unit for the Y axis of a column chart and how can I display minor gridlines on the graph

Thanks and regards
Ranju Malhotra


1 Reply

MA Manohari Syncfusion Team July 11, 2008 07:28 AM UTC

Hi Ranju,

Thanks for your interest in Syncfusion products. Please find my responses to your queries below.

1) How to set minor unit for the Y axis of a column chart?

It is possible to display the Ticks for Minor units in ChartAxis by specifying the value for SmallTicksPerInterval property as given below.

Sample Code:
this.chartControl1.PrimaryXAxis.SmallTicksPerInterval = 3; // Default value is 0.

I have attached a sample that illustrates the same in this link below.

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


2) How can I display minor gridlines on the graph?

We regret to inform you that currently we do not provide support to display Minor GridLines in ChartControl. However we have created a feature request in this regard and have forwarded to our Development team. I will get back to you regarding the Time line for implementing this feature within a week.

Kindly let us know if you need any other information. Thanks for your patience.

Regards,
Manohari.R


Loader.
Live Chat Icon For mobile
Up arrow icon