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.

How to prevent Y axis from having negative values

Thread ID:





15359 Jun 16,2004 01:04 PM Jun 18,2004 10:22 AM Windows Forms 1
Tags: Chart
Sean Greer
Asked On June 16, 2004 01:04 PM

Given that the values I''m charting cannot be negative, I don''t want the Y axis to show negative gradations. How can I disable this? Sean

Davis Jebaraj [Syncfusion]
Replied On June 18, 2004 10:22 AM

Hi, You can set a custom range for the Y axis and prevent any negative values: this.chartControl1.PrimaryYAxis.RangeType = ChartAxisRangeType.Set; this.chartControl1.PrimaryYAxis.Range.Min = 0; Regards, Davis


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.