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
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.
Thanks, Maria. I think that will work, but I was hoping there was some way to just set a padding parameter and allow the xamDataChart to continue automatically determining min/max values for the axis. Setting the values manually means I'll have to compute them at run-time when I load the chart.