echart修改x轴的颜色。轴刻度线的颜色。轴文字的颜色,是否显示坐标轴轴线,是否显示坐标轴刻度。是否背景网格线

206 阅读1分钟
xAxis: {
                          type: 'category',
                          data:this.xAxisdata1,
                          splitLine:{
                             show:false,//是否背景网格线
                          },
                          axisTick:{
                            show:true,//是否显示刻度
                            lineStyle:{color:'#fff'}    // x轴刻度的颜色
                            },

                      axisLabel: {
                               color: '#B2B9BF',// x轴字体颜色
                               interval:0//轴显示所有的数据
                            },
                           axisLine:{
                              lineStyle:{
                                  show:true,//是否显示坐标轴轴线,
                                  color:'#B2B9BF',//x轴轴线的颜色
                                  width:0,//x轴粗细
                              }
                           }
                      },