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

Chart Axis Auto Range with Force Zero Problem

Thread ID:





75749 Aug 7,2008 04:41 PM UTC Aug 12,2008 06:55 AM UTC WinForms 1
Tags: Chart
Robert Avery
Asked On August 7, 2008 04:41 PM UTC

I am using SyncFusion

If I have a chart with a single series with data all between 143,000 and 146,000, and I set ForceZero = TRUE then by default the chart seems to set ignore my DesiredIntervals of 8, and instead caps the Range.Interval to 500, resulting in a NumberOfIntervals > 100.

This creates a huge number of Axis labels which is unnecessary. Is there any way to make the automatic choosing smarter? Otherwise, what is the best way for me to set this manually.

Given that since most the time the graph does what I want (because my data ranges between 1,000 and 200,000) I want to keep its default behavior whenever it can get it right. Only when it would do something wrong like have more than 100 labels would I want to override its behavior.

J.Nagarajan [Syncfusion]
Replied On August 12, 2008 06:55 AM UTC

Hi Robert ,

When you set the Auto RangeType to the PrimaryYAxis the chart will take care of the range and intervals. Please refer to the attached sample. In this sample when setting RangeType of PrimaryYAxis to Auto, and setting ForceZero to true, the chart will assign the minimum value to zero, maximum value to 200000 and interval to 50000.


Could you please check the sample and let me know whether you are able to reproduce the issue in this sample?. It would be helpful if you provide a sample or modify the attached sample to reproduce this issue. It will help us to resolve it as early as possible.



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