|
@@ -377,7 +377,7 @@ let app = new Vue({
|
|
|
text: ''
|
|
|
},
|
|
|
legend: {
|
|
|
- data: ['类型1', '类型2', '类型3', '类型4', '类型5'],
|
|
|
+ data: ['进度', '质量', '预算', '证照', '合同'],
|
|
|
bottom: 0,
|
|
|
left: 'center',
|
|
|
textStyle: {
|
|
@@ -396,11 +396,11 @@ let app = new Vue({
|
|
|
center: ['50%', '50%'],
|
|
|
radius: 60,
|
|
|
indicator: [
|
|
|
- { name: '类型1', max: 100000 },
|
|
|
- { name: '类型2', max: 100000 },
|
|
|
- { name: '类型3', max: 100000 },
|
|
|
- { name: '类型4', max: 100000 },
|
|
|
- { name: '类型5', max: 100000 },
|
|
|
+ { name: '进度', max: 100000 },
|
|
|
+ { name: '质量', max: 100000 },
|
|
|
+ { name: '预算', max: 100000 },
|
|
|
+ { name: '证照', max: 100000 },
|
|
|
+ { name: '合同', max: 100000 },
|
|
|
],
|
|
|
axisLine: { // 设置雷达图中间射线的颜色
|
|
|
lineStyle: {
|
|
@@ -436,7 +436,7 @@ let app = new Vue({
|
|
|
symbolSize: 0, // 数值点的大小
|
|
|
data: [
|
|
|
{
|
|
|
- value: [4200, 3000, 20000, 35000, 50000, 18000],
|
|
|
+ value: [1],
|
|
|
name: '类型1',
|
|
|
itemStyle: { //该数值区域样式设置
|
|
|
normal: {
|
|
@@ -462,7 +462,7 @@ let app = new Vue({
|
|
|
},
|
|
|
},
|
|
|
{
|
|
|
- value: [8000, 3000, 38000, 76000, 32000, 71000],
|
|
|
+ value: [8000],
|
|
|
name: '类型2',
|
|
|
itemStyle: { //该数值区域样式设置
|
|
|
normal: {
|
|
@@ -548,9 +548,9 @@ let app = new Vue({
|
|
|
},
|
|
|
// y轴的字体颜色
|
|
|
axisLabel: {
|
|
|
+ // formatter: '{value} %',
|
|
|
textStyle: {
|
|
|
color: "white",
|
|
|
- formatter: '{value} %',
|
|
|
},
|
|
|
},
|
|
|
splitLine: {
|
|
@@ -572,14 +572,11 @@ let app = new Vue({
|
|
|
color: "#18416F",
|
|
|
},
|
|
|
},
|
|
|
- //y轴线的颜色以及宽度
|
|
|
- axisLine: {
|
|
|
- show: true,
|
|
|
+ // y轴的字体颜色
|
|
|
+ axisLabel: {
|
|
|
formatter: '{value} %',
|
|
|
- lineStyle: {
|
|
|
- color: "#fff",
|
|
|
- width: 1,
|
|
|
- type: "solid",
|
|
|
+ textStyle: {
|
|
|
+ color: "white",
|
|
|
},
|
|
|
},
|
|
|
splitLine: {
|
|
@@ -589,8 +586,9 @@ let app = new Vue({
|
|
|
width: 1,
|
|
|
type: "dotted",
|
|
|
},
|
|
|
- }
|
|
|
- }],
|
|
|
+ },
|
|
|
+ },
|
|
|
+ ],
|
|
|
series: [
|
|
|
{
|
|
|
name: "",
|
|
@@ -640,7 +638,7 @@ let app = new Vue({
|
|
|
},
|
|
|
{
|
|
|
name: "",
|
|
|
- type: "bar",
|
|
|
+ type: "line",
|
|
|
yAxisIndex: 1,
|
|
|
data: [1.08, 0.66, 0.79, 0.19, 0.55, 0.51, 0.58, 1.15, 0.64, 0.56, 0.86, 0.53, 0.36, 1.04, 0.15, 0.4, 0.51, 0.97],
|
|
|
showBackground: false,
|
|
@@ -657,7 +655,7 @@ let app = new Vue({
|
|
|
}, //柱图渐变色
|
|
|
{
|
|
|
offset: 1,
|
|
|
- color: "#897DFF",
|
|
|
+ color: "blue",
|
|
|
},
|
|
|
]),
|
|
|
},
|