实时XY绘图X轴更新(RealTime XY Plot X

编程入门 行业动态 更新时间:2024-10-21 13:28:01
实时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.

更多推荐

本文发布于:2023-07-26 00:18:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1268357.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:实时   XY   Plot   RealTime

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!