python - 如何使用websocket在网页上动态示实时数据的折线图?
大家讲道理
大家讲道理 2017-04-18 10:32:41
0
2
905

需要在树莓派上搭建一个webserver(使用flask),将树莓派采集到的传感器实时数据(用python采集)以折线图(或柱状图)的方式动态显示在网页上。

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all (2)
洪涛

Now that you already know how to use websocket and flask, you can useflask-SocketIOthis plug-in, combined with a front-end chart component, such as echarts, HighCharts or amCharts, and the websocket will update the table in real time when new data is received.

    刘奇

    I have the same need now, and I plan to use echarts to realize the real-time display of data.

      Latest Downloads
      More>
      Web Effects
      Website Source Code
      Website Materials
      Front End Template
      About us Disclaimer Sitemap
      php.cn:Public welfare online PHP training,Help PHP learners grow quickly!