Echarts 修改字体样色 X、Y轴

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"
                                }
                            },
原文地址:https://www.cnblogs.com/youmingkuang/p/8176909.html