Skip to content

Commit

Permalink
Showing 6 changed files with 64 additions and 29 deletions.
4 changes: 2 additions & 2 deletions theme/dark.js
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@
};
};

var colorPalette = ['#dd6b66','#e69d87','#8dc1a9','#759aa0','#ea7e53','#eedd78','#73a373','#73b9bc','#7289ab', '#91ca8c','#f49f42'];
var colorPalette = ['#dd6b66','#759aa0','#e69d87','#8dc1a9','#ea7e53','#eedd78','#73a373','#73b9bc','#7289ab', '#91ca8c','#f49f42'];
var theme = {
color: colorPalette,
backgroundColor: '#333',
@@ -74,7 +74,7 @@
toolbox: {
iconStyle: {
normal: {
brderColor: contrastColor
borderColor: contrastColor
}
}
},
15 changes: 13 additions & 2 deletions theme/tool/option/area.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
module.exports = {
title: {
text: 'Area Chart',
left: 'center',
top: '3%',
textStyle: {
fontWeight: 'normal'
}
},
grid: {
left: '3%',
right: '4%',
bottom: '3%',
bottom: '12%',
containLabel: true
},
xAxis: {
@@ -13,10 +21,13 @@ module.exports = {
yAxis: {
type: 'value',
splitNumber: 3
},
dataZoom: {

},
series: [
{
name:'邮件营销',
name:'Email',
type:'line',
stack: '总量',
areaStyle: {normal: {}},
24 changes: 23 additions & 1 deletion theme/tool/option/bar.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,30 @@
module.exports = {
title: {
text: 'Bar Chart',
left: 'center',
top: '3%',
textStyle: {
fontWeight: 'normal'
}
},
toolbox: {
top: '3%',
feature: {
magicType: {
type: ['line', 'bar', 'stack', 'tiled']
},
restore: {},
dataZoom: {},
saveAsImage: {}
}
},
grid: {
left: '13%',
right: '5%',
bottom: '5%'
bottom: '5%',
textStyle: {
fontWeight: 'normal'
}
},
xAxis: {
type: 'value'
34 changes: 17 additions & 17 deletions theme/tool/option/graph.js
Original file line number Diff line number Diff line change
@@ -209,7 +209,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Valjean",
"show":true
"show": false
}
},
"symbolSize":100,
@@ -425,7 +425,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Fantine",
"show":true
"show": false
}
},
"symbolSize":42.4,
@@ -443,7 +443,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"MmeThenardier",
"show":true
"show": false
}
},
"symbolSize":31.428574,
@@ -461,7 +461,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Thenardier",
"show":true
"show": false
}
},
"symbolSize":45.142853,
@@ -479,7 +479,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Cosette",
"show":true
"show": false
}
},
"symbolSize":31.428574,
@@ -497,7 +497,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Javert",
"show":true
"show": false
}
},
"symbolSize":47.88571,
@@ -749,7 +749,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Eponine",
"show":true
"show": false
}
},
"symbolSize":31.428574,
@@ -875,7 +875,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Gavroche",
"show":true
"show": false
}
},
"symbolSize":61.600006,
@@ -1001,7 +1001,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Marius",
"show":true
"show": false
}
},
"symbolSize":53.37143,
@@ -1037,7 +1037,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Mabeuf",
"show":true
"show": false
}
},
"symbolSize":31.428574,
@@ -1055,7 +1055,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Enjolras",
"show":true
"show": false
}
},
"symbolSize":42.4,
@@ -1073,7 +1073,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Combeferre",
"show":true
"show": false
}
},
"symbolSize":31.428574,
@@ -1109,7 +1109,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Feuilly",
"show":true
"show": false
}
},
"symbolSize":31.428574,
@@ -1127,7 +1127,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Courfeyrac",
"show":true
"show": false
}
},
"symbolSize":36.91429,
@@ -1145,7 +1145,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Bahorel",
"show":true
"show": false
}
},
"symbolSize":34.17143,
@@ -1163,7 +1163,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Bossuet",
"show":true
"show": false
}
},
"symbolSize":36.91429,
@@ -1181,7 +1181,7 @@ module.exports = {
"label":{
"normal":{
"formatter":"Joly",
"show":true
"show": false
}
},
"symbolSize":34.17143,
10 changes: 5 additions & 5 deletions theme/tool/option/map.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module.exports = {
visualMap: {
show: false,
show: true,
min: 0,
max: 1500,
left: 'left',
top: 'bottom',
text:['高','低'], // 文本,默认为数值文本
calculable : true
right: 50,
top: 'middle',
text:['高','低']
// orient: 'horizontal'
},
selectedMode: 'single',
series : [
6 changes: 4 additions & 2 deletions theme/tool/option/pie.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
module.exports = {
calculable : true,
legend: {
bottom: '5%',
data: ['rose1', 'rose2', 'rose3', 'rose4']
},
series : [
{
name:'半径模式',
type:'pie',
radius : [20, 110],
center : ['25%', 200],
roseType : 'radius',
label: {
normal: {
show: false

0 comments on commit 96df337

Please sign in to comment.