0
点赞
收藏
分享

微信扫一扫

pyecharts第三节、仪表盘


创建【demo3.py】类

pyecharts第三节、仪表盘_html

pyecharts第三节、仪表盘_echarts_02 

输入以下编码

from pyecharts import Gauge
gauge = Gauge("仪表盘")
gauge.add("储油量","油表指针",72.5)
gauge.render('gauge.html')

执行代码

pyecharts第三节、仪表盘_echarts_03

执行生成【gauge.html】网页

鼠标右键点击【gauga.html】->【Open In】->【Explorer】

pyecharts第三节、仪表盘_html_04

双击打开【gauga.html】即可

 pyecharts第三节、仪表盘_python_05

 效果图如下:

pyecharts第三节、仪表盘_右键_06


举报

相关推荐

JAVa第三节:

HCIP第三节

第三节-函数 (下)

echarts——仪表盘

echarts仪表盘

0 条评论