加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

echars配置案例-reactnative

发布时间:2020-12-15 20:27:26 所属栏目:百科 来源:网络整理
导读:option = { backgroundColor: ‘ #fff ‘ ,grid: { left: ‘ 3% ‘ ,right: ‘ 4% ‘ ,top: 20 ,bottom: ‘ 6% ‘ ,containLabel: true },xAxis: { type: ‘ category ‘ ,boundaryGap: true ,data: [ " 06-25 " , " 06-26 " , " 06-27 " , " 06-28 " , " 06
option = {
        backgroundColor:#fff,grid: {
          left: 3%,right: 4%,top:20,bottom: 6%,containLabel: true
        },xAxis: {
          type: category,boundaryGap: true,data: ["06-25","06-26","06-27","06-28","06-29","06-30","07-01"],//轴上文字
          axisLabel: {
            interval: 0,textStyle: {
              fontSize: 12,color: #898989
            }
          },//轴上刻度标签
          splitLine: {
            show: false
          },//轴上的ke
          axisLine: {
            show: false
          },//轴上Tick视图
          axisTick: {
            show: false
          }
        },yAxis: {
          type: value,axisLabel: {
            textStyle: {
              fontSize: 12,splitLine: {
            show: true,lineStyle: {
              type: dashed
            }
          },axisLine: {
            show: false
          },axisTick: {
            show: false
          }
        },series: [{
          color:#000,name:"售价",type:"line",data:[100,150,140,300,10,177,120],lineStyle:{
            normal:{
              color:"#0496FE"
            }
          },itemStyle:{
            normal:{
              color:"#0496FE"
            }
          },label: {
            textBorderColor:red,normal: {
              show: true,position: top,textStyle: {
                color: #383838,}
            }
          },textStyle:{
            normal:{
              color:"#000"
            }
          },symbol:circle,symbolSize:8
        }],}

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读