1、雷達圖修改字體顏色
polar: [ { name:{ show: true, formatter: null, textStyle: { //設置顏色 color: '#109cad' } }, indicator: [ { text: '養老保險', max: 6000}, { text: '失業保險', max: 16000 }, { text: '醫療保險', max: 30000 }, { text: '工傷保險', max: 38000 }, { text: '生育保險', max: 52000 } ] } ],
2、柱狀圖修改字體顏色
xAxis: [ { type: 'category', boundaryGap: true, splitLine: { show: false },//去除網格線 axisLine: { lineStyle: { color: '#0087ED' } }, axisLabel: { show: true, textStyle: { color: "#109cad" } },