| | |
| | | //下面是一个简单的demo,方便展示数据格式和构成 |
| | | let option = { |
| | | title: { |
| | | text: '缴费占比' |
| | | text: '缴费占比', |
| | | textStyle:{ |
| | | fontSize:13 |
| | | } |
| | | }, |
| | | legend: {}, |
| | | tooltip: { |
| | |
| | | const myMonthPayChart = echarts.init(chartDom); |
| | | var monthPayOption = { |
| | | title: { |
| | | text: '近12个月的缴费记录' |
| | | text: '近12个月的缴费记录', |
| | | textStyle:{ |
| | | fontSize:13 |
| | | } |
| | | }, |
| | | tooltip: { |
| | | trigger: 'axis', |
| | |
| | | } |
| | | }, |
| | | grid: { |
| | | top:'23%', |
| | | left: '3%', |
| | | right: '4%', |
| | | bottom: '3%', |
| | |
| | | const myMonthPayAmountChart = echarts.init(chartDom); |
| | | var monthPayAmountOption = { |
| | | title: { |
| | | text: '近12个月的缴费金额' |
| | | text: '近12个月的缴费金额', |
| | | textStyle:{ |
| | | fontSize:13 |
| | | } |
| | | }, |
| | | tooltip: {}, |
| | | legend: {}, |