Is it possible to deactivate the auto scaling on an axis on the chart?

Charts for WPF Forum

The latest build of this product (v22.1.4) was released 4 months ago, which was before this thread was created.
Posted 19 days ago by Nerd22 - Germany
Version: 22.1.4
Avatar

Hello there,

I've a chart with a Y axis in a given fixed range between {0,10}. In that case my chart also shows some negative values and values above 10, which shouldn't.

When I also add a point inside my defined area, everything works fine, as long as, this new point is in the range of {0,10}, however, by adding a point outside of the range, the Y axis gets a new range automatically to make sure to display the modified line series.

So, I would like:

  • set a fixed Y axis range
  • deactivate the automatic axis update

Is there a way to realize that?

Thanks in advise.

Comments (1)

Posted 18 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Are you are specifying the XYChartAxis.Minimum and Maximum properties to 0 and 10 respectively?  If so I would not expect the displayed axis range to be adjusted.  It seemed to work in a test I did here.

If you are setting those properties and still see the issue, please make a new simple sample project that shows the issue and send that to our support address.  Reference this thread in your email and be sure to exclude the bin/obj folders from the .zip you send so it doesn't get spam blocked.  Then we will debug with that and see what's going on.  Thanks!


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.