| | |
| | | |
| | | ### Customize configuration |
| | | See [Configuration Reference](https://cli.vuejs.org/config/). |
| | | |
| | | |
| | | 前端开发分辨率:1920x1080 |
| | | 现场分辨率不是1920x1080,x轴被拉伸了2倍,由于不在现场,无法查找具体像素值,所以只能按照1920x1080的分辨率进行设计。 |
| | |
| | | this.option = { |
| | | legend: { |
| | | orient: "vertical", |
| | | bottom: '10%', |
| | | bottom: '30%', |
| | | right: '6%', |
| | | textStyle:{ |
| | | color:'#fff' |
| | |
| | | ], |
| | | }, |
| | | radar: { |
| | | center:['43%','55%'], |
| | | radius:'65%', |
| | | // center:['43%','55%'], |
| | | center: ["33%", "50%"], |
| | | // radius:'65%', |
| | | radius:'30%', |
| | | indicator: [ |
| | | { name: "人", max: 100, color: "#fff" }, |
| | | { name: "环", max: 100, color: "#fff" }, |
| | |
| | | </script> |
| | | |
| | | <style> |
| | | #echarts2 { |
| | | width: 2.89rem; |
| | | height: 2.6rem; |
| | | transform: scaleY(2); |
| | | /* border: 1px solid red; */ |
| | | } |
| | | </style> |
| | |
| | | { |
| | | name: "Access From", |
| | | type: "pie", |
| | | radius: ["25%", "40%"], |
| | | // radius: ["25%", "40%"], |
| | | radius: ["33%", "40%"],//环变细 |
| | | center: ["26%", "47%"], |
| | | avoidLabelOverlap: false, |
| | | label: { |
| | |
| | | scale: false, |
| | | label: { |
| | | show: true, |
| | | fontSize: 14, |
| | | fontSize: 15, |
| | | fontWeight: "normal", |
| | | }, |
| | | }, |
| | |
| | | { |
| | | name: "Access From", |
| | | type: "pie", |
| | | radius: ["25%", "40%"], |
| | | // radius: ["25%", "40%"], |
| | | radius: ["33%", "40%"],//环变细 |
| | | center: ["74%", "47%"], |
| | | avoidLabelOverlap: false, |
| | | label: { |
| | |
| | | scale: false, |
| | | label: { |
| | | show: true, |
| | | fontSize: 14, //饼图中间的字体大小 |
| | | fontSize: 15, //饼图中间的字体大小 |
| | | fontWeight: "normal", |
| | | }, |
| | | }, |