<!-- 支付占比分析分析 -->
<template>
	<view class="revenue">
		<view class="revenue-line">
			<PieChart :chartData="chartData" :title="title"/>
		</view>
	</view>
</template>

<script>
	import PieChart from '@/components/pieChart.vue'
	export default {
		components: {
			PieChart
		},
		props: {
			title: {
				type: String,
				default: ''
			},
			chartData: {
				type: Object,
				default: () => {
					return {}
				}
			}
		}
	}
</script>