Incoherent Axis on XY Chart

I have an XY chart in perspective that looks like this:


The percentage axis goes from 0 to 40 to 20. The data is all 0s with one 20 and one 40. What could be causing this? All the values are floats.

It looks as though the second y-axis has a minimum that is negative or one of the datapoints is slightly negative.

If the datapoints are all positive then check yAxes.1.value.range.min
If there's nothing set there then set it to 0.

I'm equally confused about that x axis :smile: