Getting plotly data pointNumber on specific axis?

Is there is any posibility to get plotly data pointNumber on the specific axis . i want to get x-axis data pointNumber or y-axis.
i don,t know how plotly assign numbering to each datapoint.

I don’t understand what you mean here. In plotly lingo, pointNumber has no x or y axis correspondence, it simply refers to the index of the point in the data array you provide.

So give,

data: [{
  x: [1, 2, 3],
  y: [1, 2, 1]

pointNumber: 1 corresponds to (x: 2, y: 2)