dmr 发表于 2024-9-25 17:16:19

echarts设置网格线颜色

代码操作:
xAxis:{
   type: 'value',
    //设置网格线颜色
    splitLine: {
      show: true,
      lineStyle:{
         color: ['#315070'],
         width: 1,
         type: 'solid'
      }
  }
}

xAxis:{
      type: 'value',
    //隐藏网格线
      splitLine:{show: false}
}
页: [1]
查看完整版本: echarts设置网格线颜色