学会分析ECharts的option配置结构很重要,配置需要怎样的数据结构,我们只要返回给它即可
有道无术,术尚可求,有术无道,止于术
html
<div class="box">
<div class="box-header with-border">
<h3 class="box-title"><strong>商品类目与商品数量分析</strong></h3>
</div>
<div class="box-body">
<!-- 为 ECharts 准备一个具备大小(宽高)的 DOM -->
<div id="main" style="width: 1000px;height:400px;"></div>
</div>
<!-- /.box-body -->
</div>
<!-- 引入ECharts相关JS -->
<script src