实时XY绘图X轴更新(RealTime XY Plot X-Axis update)
我正在使用AndroidPlot库中的Realtime Orientation Sensor Plot演示。 当图表滚动时,如何更新域x轴值?
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?
最满意答案
Androidplot DemoApp中的滚动和缩放示例执行此操作 - 这是指向源的链接 。 特别是看看第153行 ; 这就是处理滚动的地方。
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.
更多推荐
发布评论