|
@@ -28,12 +28,12 @@ const reportData = ref<any>([])
|
|
|
const echarts_des_list = ref<string[]>(['', '', '', '', '', ''])
|
|
|
const echarts_data_list = ref<number[]>([10, 20, 30, 40, 0, 0])
|
|
|
const echarts_name_list = ref<any>([
|
|
|
- { name: '阳光指数', max: 100 },
|
|
|
- { name: '情绪稳定指数', max: 100 },
|
|
|
- { name: '社交能力', max: 100 },
|
|
|
- { name: '自律能力', max: 100 },
|
|
|
- { name: '爱情观', max: 100 },
|
|
|
- { name: '人生观', max: 100 }
|
|
|
+ { name: '阳光指数', max: 100, color: '#000000' },
|
|
|
+ { name: '情绪稳定指数', max: 100, color: '#000000' },
|
|
|
+ { name: '社交能力', max: 100, color: '#000000' },
|
|
|
+ { name: '自律能力', max: 100, color: '#000000' },
|
|
|
+ { name: '爱情观', max: 100, color: '#000000' },
|
|
|
+ { name: '人生观', max: 100, color: '#000000' }
|
|
|
])
|
|
|
|
|
|
const option = reactive({
|
|
@@ -54,11 +54,11 @@ const option = reactive({
|
|
|
}
|
|
|
},
|
|
|
// 设置雷达图中间射线的颜色
|
|
|
- axisLine: {
|
|
|
- lineStyle: {
|
|
|
- color: '#FFBA92',
|
|
|
- },
|
|
|
- },
|
|
|
+ // axisLine: {
|
|
|
+ // lineStyle: {
|
|
|
+ // color: '#FFBA92',
|
|
|
+ // },
|
|
|
+ // },
|
|
|
// splitArea: { //设置图表颜色,show的值为true
|
|
|
// show: true,
|
|
|
// areaStyle: {
|
|
@@ -72,34 +72,40 @@ const option = reactive({
|
|
|
// ], false)
|
|
|
// }
|
|
|
// },
|
|
|
- splitArea: {
|
|
|
- areaStyle: {
|
|
|
- color: {
|
|
|
- type: 'radial', // linear 线性渐变 radial径向渐变
|
|
|
- x: 0.4, // 0.5为正中心,如果小于渐变中心靠左
|
|
|
- y: 0.5, // 0.5为正中心,如果小于渐变中心靠上
|
|
|
- r: 1,
|
|
|
- colorStops: [{
|
|
|
- offset: 0, color: '#f16e6e' // 0% 处的颜色rgba(247, 215, 211, 1)
|
|
|
- }, {
|
|
|
- offset: 1, color: 'rgba(247, 225, 222, 1)' // 100% 处的颜色rgba(247, 225, 222, 1)
|
|
|
- }],
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
+ // splitArea: {
|
|
|
+ // areaStyle: {
|
|
|
+ // color: {
|
|
|
+ // type: 'radial', // linear 线性渐变 radial径向渐变
|
|
|
+ // x: 0.4, // 0.5为正中心,如果小于渐变中心靠左
|
|
|
+ // y: 0.5, // 0.5为正中心,如果小于渐变中心靠上
|
|
|
+ // r: 1,
|
|
|
+ // colorStops: [{
|
|
|
+ // offset: 0, color: '#f16e6e' // 0% 处的颜色rgba(247, 215, 211, 1)
|
|
|
+ // }, {
|
|
|
+ // offset: 1, color: 'rgba(247, 225, 222, 1)' // 100% 处的颜色rgba(247, 225, 222, 1)
|
|
|
+ // }],
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // },
|
|
|
|
|
|
|
|
|
|
|
|
//网格颜色设置
|
|
|
- splitLine: {
|
|
|
- show: true,
|
|
|
- lineStyle: {
|
|
|
- width: 1,
|
|
|
- color: '#FFBA92',
|
|
|
- },
|
|
|
- },
|
|
|
+ // splitLine: {
|
|
|
+ // show: true,
|
|
|
+ // lineStyle: {
|
|
|
+ // width: 1,
|
|
|
+ // color: '#FFBA92',
|
|
|
+ // },
|
|
|
+ // },
|
|
|
|
|
|
},
|
|
|
+ // name: {
|
|
|
+ // //修改indicator文字的颜色
|
|
|
+ // textStyle: {
|
|
|
+ // color: "#000000",
|
|
|
+ // },
|
|
|
+ // },
|
|
|
series: [
|
|
|
{
|
|
|
name: 'Budget vs spending',
|