qiun-data-charts组件使用
uni-app开发APP的时候会有需要表格的需求 用echarts H5页面可以使用 但是app打包之后显示不出来 会一直报error的错误 所以后面换了一个 组件 这个组件APP和H5页面都能使用。使用方法先去插件商店直接导入到项目中页面中引入<qiun-data-chartstype="column":chartData="chartData":ontouch="true"/>ch
·
uni-app开发APP的时候会有需要表格的需求 用echarts H5页面可以使用 但是app打包之后显示不出来 会一直报error的错误 所以后面换了一个 组件 这个组件APP和H5页面都能使用。
使用方法
-
先去插件商店直接导入到项目中
-
页面中引入
<qiun-data-charts
type="column"
:chartData="chartData"
:ontouch="true"/>
chartData:{
categories: ["01-01", "01-02", "01-03", "01-04", "01-05", "01-06", "01-07"],
eries: [{
name: "近一周订单走势",
data: [36, 31, 33, 13, 34, 40, 34]
}]
更多推荐
所有评论(0)