RealTime XY Plot X-Axis update

笑着哭i 提交于 2019-12-11 08:47:09

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!