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.

Series padding

Thread ID:

Created:

Updated:

Platform:

Replies:

38511 Dec 14,2005 09:14 AM Dec 15,2005 04:58 AM Windows Forms 1
loading
Tags: Chart
Terry Foster
Asked On December 14, 2005 09:14 AM

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 04:58 AM

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

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.

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.

;