I’m creating some simple line graphs where X data aren’t linear (example: X: 1, 3, 6) .
The points are correctly distributed and displayed in the graph X axis, but in the nonesistant positions it automatically compile the label (2, 4, 5 appears).

There is a way to hide the X labels where there isn’t any related data?

Those labels are coordinates on the axis and are shown irrespective of whether a point exists or not. But in case you want to hide them, there is a workaround that I can suggest. But it works only if all x values are integers – or multiples of the set “interval”.