mirror of
https://github.com/ecomfe/vue-echarts.git
synced 2025-08-16 04:31:22 +08:00
add theme demo
This commit is contained in:
119
demo/theme.js
Normal file
119
demo/theme.js
Normal file
@ -0,0 +1,119 @@
|
||||
export default {
|
||||
"seriesCnt": "3",
|
||||
"backgroundColor": "#ccc",
|
||||
"titleColor": "#333",
|
||||
"subtitleColor": "#666",
|
||||
"textColorShow": false,
|
||||
"textColor": "#666",
|
||||
"markTextColor": "#666",
|
||||
"color": [
|
||||
"#45c231",
|
||||
"#29a19b",
|
||||
"#8461a8"
|
||||
],
|
||||
"borderColor": "#999",
|
||||
"borderWidth": "0",
|
||||
"visualMapColor": [
|
||||
"#4bc7a3",
|
||||
"#73aed8",
|
||||
"#f6e9a6"
|
||||
],
|
||||
"legendTextColor": "#999",
|
||||
"axes": [
|
||||
{
|
||||
"type": "all",
|
||||
"name": "通用坐标轴",
|
||||
"axisLineShow": true,
|
||||
"axisLineColor": "#999",
|
||||
"axisTickShow": true,
|
||||
"axisTickColor": "#999",
|
||||
"axisLabelShow": true,
|
||||
"axisLabelColor": "#999",
|
||||
"splitLineShow": true,
|
||||
"splitLineColor": [
|
||||
"#ccc"
|
||||
],
|
||||
"splitAreaShow": false,
|
||||
"splitAreaColor": [
|
||||
"rgba(250,250,250,0.3)",
|
||||
"rgba(200,200,200,0.3)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "category",
|
||||
"name": "类目坐标轴",
|
||||
"axisLineShow": true,
|
||||
"axisLineColor": "#999",
|
||||
"axisTickShow": true,
|
||||
"axisTickColor": "#999",
|
||||
"axisLabelShow": true,
|
||||
"axisLabelColor": "#999",
|
||||
"splitLineShow": false,
|
||||
"splitLineColor": [
|
||||
"#ccc"
|
||||
],
|
||||
"splitAreaShow": false,
|
||||
"splitAreaColor": [
|
||||
"rgba(250,250,250,0.3)",
|
||||
"rgba(200,200,200,0.3)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "value",
|
||||
"name": "数值坐标轴",
|
||||
"axisLineShow": true,
|
||||
"axisLineColor": "#999",
|
||||
"axisTickShow": true,
|
||||
"axisTickColor": "#999",
|
||||
"axisLabelShow": true,
|
||||
"axisLabelColor": "#999",
|
||||
"splitLineShow": true,
|
||||
"splitLineColor": [
|
||||
"#ccc"
|
||||
],
|
||||
"splitAreaShow": false,
|
||||
"splitAreaColor": [
|
||||
"rgba(250,250,250,0.3)",
|
||||
"rgba(200,200,200,0.3)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "log",
|
||||
"name": "对数坐标轴",
|
||||
"axisLineShow": true,
|
||||
"axisLineColor": "#999",
|
||||
"axisTickShow": true,
|
||||
"axisTickColor": "#999",
|
||||
"axisLabelShow": true,
|
||||
"axisLabelColor": "#aaa",
|
||||
"splitLineShow": true,
|
||||
"splitLineColor": [
|
||||
"#888888"
|
||||
],
|
||||
"splitAreaShow": false,
|
||||
"splitAreaColor": [
|
||||
"rgba(250,250,250,0.3)",
|
||||
"rgba(200,200,200,0.3)"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "time",
|
||||
"name": "时间坐标轴",
|
||||
"axisLineShow": true,
|
||||
"axisLineColor": "#333",
|
||||
"axisTickShow": true,
|
||||
"axisTickColor": "#333",
|
||||
"axisLabelShow": true,
|
||||
"axisLabelColor": "#333",
|
||||
"splitLineShow": true,
|
||||
"splitLineColor": [
|
||||
"#ccc"
|
||||
],
|
||||
"splitAreaShow": false,
|
||||
"splitAreaColor": [
|
||||
"rgba(250,250,250,0.3)",
|
||||
"rgba(200,200,200,0.3)"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user