小程序-wxcharts
百度找以下文件下载放入项目使用
**必须搭配canvas标签使用
<view class="day {
{index==0?'show':'hidden'}}">
<canvas canvas-id="ringCanvas" class="ringCanvas"></canvas>
</view>
<view class="month {
{index==1?'show':'hidden'}}">
<canvas canvas-id="monthRingCanvas" class="ringCanvas"></canvas>
</view>
//引入文件,声明变量
var wxCharts = require('../../utils/wxcharts.js');
var lineChart = null;
var ringChart = null;
//js部分代码