XY Chart - xAxes problem when change baseInterval count

Good afternoon,

in an XY Chart in perspective I have the problem that the data are shown wrong when I change the baseInterval count in the xAxes properties.

The problem is that the data are not consistent with the xAxes label:

  • with the count = 1, the value “37” is correct with the day 20
  • with the count = 2, the value “37” is wrong because is in between the 20 and 22

Here the video.

Try playing with xAxes.0.appearance.grid.position.
It defaults to 0.5. You might get what you want with 0.25 or 0.75.

This also interacts with xAxes.0.appearance.grid.minDistance which determines how many gridlines you get.

If you're going to change the count you may want to change the above two properties by an expression binding based on the count value.