10 2020 档案

摘要:option = { tooltip:{ trigger:"axis", textStyle:{ color:"#FFF", }, }, xAxis: { type: 'category', axisTick:{show:false}, axisLabel:{ rotate:40 //控制文字倾斜 阅读全文
posted @ 2020-10-30 17:01 云里知音 阅读(248) 评论(0) 推荐(0)
摘要:option = { backgroundColor:"#17326b", grid:{ left:"10", top:"10", right:"0", bottom:"10", containLabel:true }, xAxis: { type: 'value', splitLine:{show 阅读全文
posted @ 2020-10-29 11:11 云里知音 阅读(1946) 评论(0) 推荐(0)
摘要:option = { tooltip: { trigger: 'axis', axisPointer: { type: 'cross', crossStyle: { color: '#999' } } }, legend: { data: ['苹果', '香蕉', '橘子'], // 设置具体项 i 阅读全文
posted @ 2020-10-28 10:57 云里知音 阅读(6345) 评论(1) 推荐(0)
摘要:option = { tooltip: { trigger: 'axis', axisPointer: { type: 'cross', crossStyle: { color: '#999' } } }, legend: { data: ['百度', '谷歌', '折线'], icon:"reac 阅读全文
posted @ 2020-10-28 09:54 云里知音 阅读(5969) 评论(1) 推荐(1)
摘要:var colors = ["#f00","#00f","#ff0","#0ff","#f0f"]; option = { title: { text: '世界人口总量', subtext: '数据来自网络' }, tooltip: { trigger: 'axis', axisPointer: { 阅读全文
posted @ 2020-10-27 23:45 云里知音 阅读(7567) 评论(1) 推荐(1)
摘要:option = { backgroundColor:"#293c55", tooltip: { trigger: 'axis' }, legend: { itemWidth:15, //设置legend图标的宽度 itemHeight:15, //设置legend图标的高度 right:60, / 阅读全文
posted @ 2020-10-27 16:16 云里知音 阅读(3430) 评论(0) 推荐(0)
摘要:官网: http://momentjs.cn/ 1、安装: npm install moment --save 2、引入: import moment from 'moment' 3、使用: 只要Y、M、D、H、m、s...写对了,无论转换成什么格式都可以! momemt('20181101').f 阅读全文
posted @ 2020-10-12 21:52 云里知音 阅读(97) 评论(0) 推荐(0)