实例:树懒课堂七月开销及预算 雷达图
效果图:

完整代码:
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>ECharts</title>
    <!-- 引入 echarts.js -->
    <script src="echarts.min.js"></script>
</head>
<body>
    <!-- 为ECharts准备一个具备大小(宽高)的Dom -->
    <div id="main" style="width: 600px;height:400px;"></div>
    <script type="text/javascript">
        // 基于准备好的dom,初始化echarts实例
        var myChart = echarts.init(document.getElementById('main'));
        // 指定图表的配置项和数据
option = {
    title: {
        text: '树懒课堂七月开销及预算 雷达图'
    },
    tooltip: {},
    legend: {
        data: ['预算分配(Allocated Budget)', '实际开销(Actual Spending)'],
        right:'1%',
        top:'5%',
    },
    radar: {
        // shape: 'circle',
        center:['50%','55%'],
        name: {
            textStyle: {
                color: '#fff',
                backgroundColor: '#999',
                borderRadius: 3,
                padding: [3, 5]
            }
        },
        indicator: [
            { name: '销售', max: 30000},
            { name: '管理', max: 30000},
            { name: '信息技术', max: 30000},
            { name: '客服', max: 30000},
            { name: '研发', max: 30000},
            { name: '市场', max: 30000}
        ]
    },
    series: [{
        name: '预算 vs 开销(Budget vs spending)',
        type: 'radar',
        // areaStyle: {normal: {}},
        data: [
            {
                value: [14300, 10000, 28000, 25000, 20000, 19000],
                name: '预算分配(Allocated Budget)'
            },
            {
                value: [15000, 14000, 28000, 21000, 22000, 25000],
                name: '实际开销(Actual Spending)'
            }
        ]
    }]
};
        // 使用刚指定的配置项和数据显示图表。
        myChart.setOption(option);
    </script>
</body>
</html>radar组件是实现雷达图的关键,故我们来看radar组件的代码:
center:['50%','55%'],name: {
            textStyle: {
                color: '#fff',
                backgroundColor: '#999',
                borderRadius: 3,
                padding: [3, 5]
            }
        },
indicator: [
            { name: '销售', max: 30000},
            { name: '管理', max: 30000},
            { name: '信息技术', max: 30000},
            { name: '客服', max: 30000},
            { name: '研发', max: 30000},
            { name: '市场', max: 30000}
        ]