<qiun-data-charts type="arcbar" :chartData="chartData1" />
chartData1: {
series: [
{
name: '纯度',
data: 0.6,
color: '#2fc25b'
}
]
},
1***@qq.com
- 发布:2021-10-15 15:18
- 更新:2021-11-02 13:12
- 阅读:1287
#插件讨论# 【 秋云 ucharts echarts 高性能跨全端图表组件 - 秋云 】为什么圆弧进度条不显示百分比和标题呢
分类:uni-app
1 个回复
m***@163.com
这个是手动设置的
<qiun-data-charts inScrollView canvas2d canvasId='SchoolLevels' reload type="ring" :opts="defaultSetting" :chartData="chartData1" background="none" />
data(){
return{
defaultSetting: {
title: {
name: '百分比'
},
subtitle: {
name: '10%'
}
},
}
}
动态改这俩的name就行