admin管理员组文章数量:1417469
This post is more of a question instead of a problem. So please feel free to let me know if this is not the right place to ask.
I'm currently using react-native, and my application is receiving real-time data of values between -0 to 1 values. These data need to be represented in a line chart, this example
pretty much explains what I want.
The issue is, I'm not really sure which library in react native would be most suitable for showing real-time data.
Any help and advice would be appreciated.
Ps: The line chart looks very simple, so if it can be done from scratch, that would be a bonus because I'd have to only render the line. However I'm not entirely sure about the implementation in react-native.
Update
I found this
which kind of resembles what I want. But there's an interval between each point.
This post is more of a question instead of a problem. So please feel free to let me know if this is not the right place to ask.
I'm currently using react-native, and my application is receiving real-time data of values between -0 to 1 values. These data need to be represented in a line chart, this example
pretty much explains what I want.
The issue is, I'm not really sure which library in react native would be most suitable for showing real-time data.
Any help and advice would be appreciated.
Ps: The line chart looks very simple, so if it can be done from scratch, that would be a bonus because I'd have to only render the line. However I'm not entirely sure about the implementation in react-native.
Update
I found this
which kind of resembles what I want. But there's an interval between each point.
- Hello, did you find anything for this yet? If so please share your findings. – jasonleonhard Commented Apr 2, 2018 at 0:24
1 Answer
Reset to default 3you can use any charting package I'm using react-native-svg-charts.
To visualize "real-time" data you basically have an array of data points through which you "shift" to get the flowing of the graph.
How you realize this is up to you. To get rid of the visual "interval" you just have to update at a higher rate e.g. 30 times per second = 30 fps.
本文标签: javascriptReact native chart for streaming realtime dataStack Overflow
版权声明:本文标题:javascript - React native chart for streaming real-time data? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745266737a2650647.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论