Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1531
Pad axes minimum and maximum values
posted

Is there a way to pad the min/max x or y axis values?  For instance, if my dataset has a min y-value of -10 and a max y-value of 10, the chart will automatically set the y-axis to range from -10 to 10.  The problem is that I can get points along the top or bottom edges of the chart which can make them difficult to see.  What I’d like to do is pad the range by some percentage, say 110%, such that the y-axis will range from -11 to 11.

Thanks, Steve

Parents
  • 17475
    Verified Answer
    Offline posted

    Hello Steve,

    I have been looking into your issue and what I can suggest you is using MaximumValue and MinimumValue properties of the NumericXAxis and NumericYAxis so that you can set minimum and maximum values of the x and y axis. You can find more information about axis range here.

    Please let me know if you have any other questions on the matter.

Reply Children