EChart title设置(信息,位置,样式)
"title": {
"text": "标题设置",
"textStyle": {
"color": "#bcbfff",
"fontWeight": "bold",
"fontSize": 14
},
"top": "4%",
"left": "2.2%"
},
EChart 整个图表显示位置
"grid": {
"left": "51%",
"right": "10%",
"bottom": "3%",
"containLabel": true
},
EChart 横坐标或者纵坐标标签颜色
横坐标为例
"yAxis": [{
"type": "category",
"data": ["TOP5", "TOP4", "TOP3", "TOP2", "TOP1"],
"axisLine": {
"show": false
},
"axisTick": {
"show": true,
"alignWithLabel": true
},
"axisLabel": {
"textStyle": {
"color": "#fff"
}
}
}],
EChart 背景颜色设置
backgroundColor:'#000',