饼图: 普通案例 from example.commons import Faker from pyecharts import options as opts from pyecharts.charts import Page, Pie l1 = ['aa','bb','cc','dd','ee'] num =[10,20,15,25,30] c = ( Pie() .add("", [list(z) for z in zip(l1,num)]) .set_global_opts(t…
散点图 基本案例 from example.commons import Faker from pyecharts import options as opts from pyecharts.charts import EffectScatter from pyecharts.globals import SymbolType c = ( EffectScatter() .add_xaxis(["衬衫", "毛衣", "领带", "裤子…
柱状图 bar 基本演示例子 from pyecharts import options as opts from pyecharts.charts import Bar c =( Bar().add_xaxis(["衬衫", "毛衣", "领带", "裤子", "风衣", "高跟鞋", "袜子"]) .add_yaxis('商家A', [114, 55, 27, 1…
<?php use yii\helpers\Html; use yii\helpers\Url; use yii\widgets\DetailView; use yii\grid\GridView; use app\models\DeviceStatus; use yii\widgets\ActiveForm; use yii\bootstrap\Modal; use yii\bootstrap\Alert; /* @var $this yii\web\View */ /* @var $mode…