摘要:
数据存储: import mysql.connector from sqlalchemy import create_engine # 创建引擎 from sqlalchemy.orm import sessionmaker # 创建会话 class ORM: # 会话方法 @classmethod 阅读全文
摘要:
因为网络与磁盘的存储是一致的,故而。可以使用双饼图实现: 定义双饼图: #-*- coding: utf-8 -*- import datetime from pyecharts import Liquid,Gauge,Pie,Line class Chart(object): #定义双饼图 def 阅读全文
摘要:
定义仪表盘: def gauge_html(self, chart_id, title, val): gauge = Gauge( "{}-{}".format(self.dt, title), title_pos="center", width="100%", title_text_size=14 阅读全文
摘要:
添加水球,下载插件添加到静态文件中。 在html文件处理echart的问题。导入路径即可 <script src="{{ static_url('echarts-liquidfill/echarts-liquidfill.min.js') }}"></script> 修改index.html <di 阅读全文