echarts 设置legend样式

设置legend样式

legend: {
    x: 'center',data: ['班车','包车'],icon: "circle",// 这个字段控制形状 类型包括 circle,rect ,roundRect,triangle,diamond,pin,arrow,none
    itemWidth: 10,// 设置宽度
    itemHeight: 10,// 设置高度
    itemGap: 32 // 设置间距
},