| | |
| | | return { |
| | | tooltip: { |
| | | trigger: 'item', |
| | | formatter: ' <span style="display: inline-block; margin-right: 4px; border-radius: 10px; width: 10px; height: 10px;background-color: #91cc75;"></span> {b0}<strong style="margin-left:10px">{c0}人</strong>' |
| | | formatter: ' <span style="display: inline-block; margin-right: 4px; border-radius: 10px; width: 10px; height: 10px;background-color: #91cc75;"></span> {b0}<strong style="margin-left:10px">{c0}人</strong>', |
| | | textStyle: { |
| | | fontSize: fontSize(14) |
| | | } |
| | | }, |
| | | xAxis: { |
| | | type: 'category', |
| | |
| | | |
| | | msg = `${params.marker}${params.name}<strong style="margin-left:10px">${msg}</strong>'` |
| | | return msg |
| | | }, |
| | | textStyle: { |
| | | fontSize: fontSize(14) |
| | | } |
| | | }, |
| | | color: myColor, |
| | |
| | | trigger: 'item', |
| | | formatter: params => { |
| | | return `${params.marker} ${params.name}: ${params.value} 个` |
| | | }, |
| | | textStyle: { |
| | | fontSize: fontSize(14) |
| | | } |
| | | }, |
| | | xAxis: { |