问题
I'm using the Realtime Orientation Sensor Plot demo from the AndroidPlot library. How can I make the Domain x-axis values update when the graph scrolls?
回答1:
The scroll and zoom example in the Androidplot DemoApp does this - here's a link to the source. In particular take a look at Line #153; that's where the where scrolling is handled.
来源:https://stackoverflow.com/questions/23272007/realtime-xy-plot-x-axis-update