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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to prevent Y axis from having negative values

Thread ID:





15359 Jun 16,2004 05:04 PM UTC Jun 18,2004 02:22 PM UTC WinForms 1
Tags: Chart
Sean Greer
Asked On June 16, 2004 05:04 PM UTC

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 02:22 PM UTC

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.

Please sign in to access our forum

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon