PyQtGraph: How to show first and last tick string values on x-axis?

Viewed 25

I want to synchronize the x-axis of PyQtGraph. When the user rescales the X-Axis with mouse interactions (e.g. scroll-wheel while mouse on x-Axis) I want to see first and last tick values only when plot is in its initial state and when zoom-in or zoom-out other ticks will appear.

This question has a follow up here and here.

ticks = [list(zip(t_time_value, t_ticks_values))]

Note: ticks can be of a large length (at least 16385).

I found setTickSpacing() but not sure how to use it.

0 Answers
Related