zoukankan      html  css  js  c++  java
  • echars配置案例-reactnative

    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,
                  color: '#898989'
                }
              },
              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
            }],
          }

  • 相关阅读:
    Celery异步框架
    彻底理解cookie,session,token
    消息队列
    pip源、搭建虚拟环境、git
    全文检索
    redis高级
    redis基础
    基本数据结构和算法(python代码实现算法)
    MySQL数据库高级
    MySQL数据库进阶
  • 原文地址:https://www.cnblogs.com/liujinyu/p/9255314.html
Copyright © 2011-2022 走看看