grid: {show: false,left: '0px',top: '50px',right: '1px',bottom: '0px',containLabel: true,backgroundColor: 'white',//show: true的时候才显示borderColor: '#ccc',borderWidth: 1,//更多属性访问http://echarts.baidu.com/option.html#grid
}
tooltip: {trigger: "axis",axisPointer: {type: "line",lineStyle: {color: "blue"//设置提示框线条颜色}},backgroundColor: "rgba(0,0,0,0.6)",borderWidth: 1,borderColor: "rgba(0,2,85,0.8)",padding: 10,textStyle: {color: "blue"//更多属性访问http://echarts.baidu.com/option.html#tooltip}
}
/*柱状图渐变色*/
series: [{itemStyle: {normal: {barBorderRadius: 10,color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0,color: 'rgba(153,217,234,0)'}, {offset: 1,color: '#3fa7dc'}]),shadowColor: 'rgba(0, 0, 0, 0.4)',shadowBlur: 20,}}},//更多属性访问http://echarts.baidu.com/option.html#series
]
/*折线图渐变色*/
series: [{areaStyle: {normal: {color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{offset: 0,color: 'rgba(255, 158, 68,1)'}, {offset: 1,color: 'rgba(255, 70, 131,0)'}])}}},//更多属性访问http://echarts.baidu.com/option.html#series
]
什么是Vuex?只需三分钟!只需创建一个vuex.js文件,让你马上学会使用Vuex,尽管Vuex是个鸡肋!(扔掉store文件夹和里面的index、getters、actions、mutations等js文件吧!)_你挚爱的强哥❤给你发来1条消息❤-CSDN博客https://s-z-q.blog.csdn.net/article/...
app.component.html
/*横纵分割线颜色透明度*/ xAxis: {axisLabel: {textStyle: {color: "#2484db"}},axisLine: {lineStyle: {color: 'rgba(0,2,85,1)',width: 2,}},splitLine: {show: true,lineStyle: {colo...
先上代码 background: linear-gradient(white, transparent); 这个代码在苹果手机里面的效果居然是这么“灰不溜秋” background: linear-gradient(white, rgba(255,255,255,0)); 改成rgba之后,好很多了!~...