Echarts雷达图配置怎么配置ne

 

option = {
    color: [ '#67F9D8', '#FFE434', '#56A3F1', '#FF917C'],
    title: {
        text: '自定义雷达图'
    },
    tooltip: {
        show: true
    },
    legend: {
        data: ['Data A', 'Data B', 'Data C', 'Data D']
    },
    radar: [
        {
            indicator: [
                { text: '工业效应', max: 1},
                { text: '金融环境', max: 1},
                { text: '贸易环境', max: 1},
                { text: '投资环境', max: 1 },
                { text: '需求', max: 1 },
            ],
             splitArea: {
                areaStyle: {
                    // color: ['red', 'blue', 'green', 'yellow'],
                    shadowColor: 'rgba(0, 0, 0,0',
                    shadowBlur: 10
                }
            },
            center: ['75%', '50%'],
            radius: 120,
            name: {
                textStyle: {
                    color: '#fff',
                    backgroundColor: '#666',
                    borderRadius: 3,
                    padding: [3, 5]
                }
            }

        }
    ],
    series: [
        {
            name: '成绩单',
            type: 'radar',
            // radarIndex: 1,
            data: [
                {
                    value: [0.6,0.6,0.6,0.6,0.6,],
                    // name: 'Data C',
                    symbol: 'rect',
                    symbolSize: 12,
                    lineStyle: {
                        type: 'dashed'
                    },
                    label: {
                        show: true,
                        formatter: function (params) {
                            return params.value;
                        }
                    }
                },
                {
                    value: [0.7, 0.3, 0.55, 0.45, .45],
                    // name: 'Data D',
                    areaStyle: {
                        color: new echarts.graphic.RadialGradient(0.1, 0.6, 1, [
                            {
                                color: 'rgba(0, 163, 242, 0.3)',
                                offset: 0
                            },
                            // {
                            //     color: 'rgba(255, 145, 124, 0.9)',
                            //     offset: 1
                            // }
                        ])
                    }
                }
            ]
        }
    ]
};

 

额官网api里有具体想要的效果只能自己改