zoukankan      html  css  js  c++  java
  • echarts一些简单设置

    1.设置轴线颜色

                在yAxis中设置splitLine: {  

                        lineStyle: {  
                            // 使用深浅的间隔色
                            color: ['#2E8CA4']  
                        }
                    }, 
    2.设置x轴颜色和Y轴颜色
    //轴线颜色设置
                    axisLine:{
                        lineStyle:{
                            color:'#2E8CA4'
                        }
                    }
    3.设置x轴和y轴的文字样式
    axisLabel: {
                    // formatter: '{value}号',//X轴标签数值单位
                    margin: 10,//X轴标签与轴线之间的距离
                    interval: 0,//X轴强制显示所有标签
                    textStyle: {
                        color: '#FFFFFF',//X轴字体颜色
                        fontFamily: 'Microsoft YaHei',//X轴字体
                    }
                }
  • 相关阅读:
    C++常变量
    C++变量(C++变量定义、变量赋值、命名规则)
    463. Island Perimeter
    500. Keyboard Row
    811. Subdomain Visit Count
    901. Online Stock Span
    419. Battleships in a Board
    620. Not Boring Movies
    893. Groups of Special-Equivalent Strings
    575. Distribute Candies
  • 原文地址:https://www.cnblogs.com/xingzoudecd/p/14116575.html
Copyright © 2011-2022 走看看