微信小程序图表Demo(附上源码)
开源微信小程序图表Demo
github地址 https://github.com/kesixin
项目:WX-Graphic
- 线性图
- 滚动线性图
- 柱状图
- 扇形图
- 环形图
- 区域图
- 雷达图
<!--index.wxml-->
<view class="container">
<view bindtap="gotoPage" data-page="line" class="mt20 list-item">线性图</view>
<view bindtap="gotoPage" data-page="scrollline" class="mt20 list-item">滚动线性图</view>
<view bindtap="gotoPage" data-page="column" class="mt20 list-item">柱状图</view>
<view bindtap="gotoPage" data-page="pie" class="mt20 list-item">扇形图</view>
<view bindtap="gotoPage" data-page="ring" class="mt20 list-item">环形图</view>
<view bindtap="gotoPage" data-page="area" class="mt20 list-item">区域图</view>
<view bindtap="gotoPage" data-page="radar" class="mt20 list-item">雷达图</view>
</view>
2 回复
/*
* charts for WeChat small app v1.0
*
* https://github.com/xiaolin3303/wx-charts
* 2016-11-28
*
* Designed and built with all the love of Web
*/
是不是这个wxcharts.js