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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Series padding

Thread ID:





38511 Dec 14,2005 02:14 PM UTC Dec 15,2005 09:58 AM UTC WinForms 1
Tags: Chart
Terry Foster
Asked On December 14, 2005 02:14 PM UTC

Is there an easy way to eliminate the padding below the axis origin? For example, if I have a column series with a max value of 30, the visible y axis range goes from -10 to 40. I would like it go from 0 to 40 so that there is no space below the columns - they just sit right on the x axis. Thanks, Terry

Geetha M [Syncfusion]
Replied On December 15, 2005 09:58 AM UTC

Hi Terry, To set the Y Axis visible range to start from 0 and to adjust the range of the Y axis you need to set the range of the axis manually. The following code illustrates this: this.chartControl1.PrimaryYAxis.Range = new MinMaxInfo(0,40,10); The above code sets the Y axis minimum value, maximum value and interval respectively. You can also set the range for X axis and for any secondary axis you create in the same way. I hope this helps you. Thanks and Regards, Geetha


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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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