| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 | <template>	<view class="charts-box">		<view class="charts-box-title">{{ title }}</view>		<qiun-data-charts type="pie" :canvas2d="true" :ontouch="true" :chartData="chartData" :opts="opts" />	</view></template><script>	export default {		props: {			chartData: {				type: Object,				default: () => {					return {}				}			},			title: {				type: [String, Number],				default: ''			},			opts: {				type: Object,				default: () => {					return {						dataLabel: false,						legend: {							position: 'right',							lineHeight: 20						}					}				}			}		},		data() {			return {}		}	}</script><style lang="scss" scoped>	.charts-box {		background-color: #fff;		border-radius: 5px;		padding: 18px 15px;		&-title {			text-align: center;			margin-bottom: 10px;		}	}</style>
 |