Echarts坐标轴添加name,添加箭头


 xAxis: [
 {
            name: "日期",//添加名称
            nameTextStyle: {
              color: "#646464",
              padding: [40, 0, 0, -10] ,
              fontSize:13
             
            },
  nameLocation: "end",//位置
  axisLine: {
              show: true,
              symbol: ["none", "arrow"],//添加箭头
              symbolOffset: [0, 20],//
  lineStyle: {
                color: "#c8c8c8",
                width: 1,
                type: "solid",
                shadowOffsetX: 20,//
                shadowColor: "#c8c8c8",//
              },
            },
]
 
  yAxis: [
  axisLine: {
              show: true,
              symbol: ["none", "arrow"],
              symbolOffset: [0, 40],
              lineStyle: {
                color: "#c8c8c8",
                width: 2,
                type: "solid",
                shadowOffsetY: -40,
                shadowColor: "#c8c8c8",
              },
            },
]
 
 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM