diff --git a/test/gauge-distance.html b/test/gauge-distance.html
index e065db7d3c..e94a0087e0 100644
--- a/test/gauge-distance.html
+++ b/test/gauge-distance.html
@@ -182,7 +182,7 @@
},
pointer: {
itemStyle: {
- color: 'auto'
+ color: 'inherit'
}
},
axisTick: {
@@ -200,13 +200,13 @@
}
},
axisLabel: {
- color: 'auto',
+ color: 'inherit',
distance: 35,
fontSize: 20
},
detail: {
formatter: '{value}%',
- color: 'auto'
+ color: 'inherit'
},
data: [{value: 70, name: '完成率'}]
}
@@ -264,19 +264,19 @@
pointer: {
length: '80%',
itemStyle: {
- color: 'auto'
+ color: 'inherit'
}
},
axisTick: {
length: 15,
lineStyle: {
- color: 'auto'
+ color: 'inherit'
}
},
splitLine: {
length: 20,
lineStyle: {
- color: 'auto',
+ color: 'inherit',
width: 5
}
},
@@ -309,7 +309,7 @@
formatter: function(value) {
return value * 100 + '%';
},
- color: 'auto'
+ color: 'inherit'
},
data: [{value: 0.75, name: '成绩评定'}]
}
diff --git a/test/gauge-group-title-detail.html b/test/gauge-group-title-detail.html
index ab1aaf299a..73f134fee1 100644
--- a/test/gauge-group-title-detail.html
+++ b/test/gauge-group-title-detail.html
@@ -118,8 +118,8 @@
width: 30,
height: 12,
fontSize: 12,
- color: 'auto',
- borderColor: 'auto',
+ color: 'inherit',
+ borderColor: 'inherit',
borderWidth: 1,
borderRadius: 3,
formatter: '{value}%',
@@ -204,7 +204,7 @@
width: 30,
height: 12,
fontSize: 12,
- color: 'auto',
+ color: 'inherit',
formatter: '{value}%'
}
}
@@ -288,7 +288,7 @@
height: 12,
fontSize: 12,
color: '#fff',
- backgroundColor: 'auto',
+ backgroundColor: 'inherit',
borderRadius: 3,
formatter: '{value}%'
}
@@ -372,8 +372,8 @@
width: 30,
height: 12,
fontSize: 12,
- color: 'auto',
- borderColor: 'auto',
+ color: 'inherit',
+ borderColor: 'inherit',
borderRadius: 3,
borderWidth: 1,
formatter: '{value}%'
@@ -458,11 +458,11 @@
width: 30,
height: 12,
fontSize: 12,
- color: 'auto',
+ color: 'inherit',
borderRadius: 3,
- borderColor: 'auto',
+ borderColor: 'inherit',
borderWidth: 1,
- // backgroundColor: 'auto',
+ // backgroundColor: 'inherit',
formatter: '{value}%'
},
}
@@ -546,7 +546,7 @@
height: 12,
fontSize: 12,
color: '#fff',
- backgroundColor: 'auto',
+ backgroundColor: 'inherit',
borderRadius: 3,
formatter: '{value}%'
},
diff --git a/test/gauge-simple.html b/test/gauge-simple.html
index 076e0af123..cbf4d865d6 100644
--- a/test/gauge-simple.html
+++ b/test/gauge-simple.html
@@ -190,19 +190,19 @@
pointer: {
length: '80%',
itemStyle: {
- color: 'auto'
+ color: 'inherit'
}
},
axisTick: {
length: 15,
lineStyle: {
- color: 'auto'
+ color: 'inherit'
}
},
splitLine: {
length: 20,
lineStyle: {
- color: 'auto',
+ color: 'inherit',
width: 5
}
},
@@ -234,7 +234,7 @@
formatter: function(value) {
return Math.round(value * 100) + '%';
},
- color: 'auto'
+ color: 'inherit'
},
data: [{
value: 0.75,
diff --git a/test/gauge.html b/test/gauge.html
index 7e54c078fd..19b0a85f15 100644
--- a/test/gauge.html
+++ b/test/gauge.html
@@ -145,8 +145,8 @@
width: 30,
height: 12,
fontSize: 12,
- color: 'auto',
- borderColor: 'auto',
+ color: 'inherit',
+ borderColor: 'inherit',
borderWidth: 1,
borderRadius: 3,
formatter: '{value}%',
@@ -199,14 +199,14 @@
length :15, // 属性length控制线长
distance: 10,
lineStyle: { // 属性lineStyle控制线条样式
- color: 'auto'
+ color: 'inherit'
}
},
splitLine: { // 分隔线
length :20, // 属性length控制线长
distance: 10,
lineStyle: { // 属性lineStyle(详见lineStyle)控制线条样式
- color: 'auto'
+ color: 'inherit'
}
},
axisLabel: {
@@ -216,7 +216,7 @@
color: '#222',
textBorderColor: '#fff',
textBorderWidth: 2,
- backgroundColor: 'auto',
+ backgroundColor: 'inherit',
padding: [2, 4],
borderRadius: 3
}
@@ -263,7 +263,7 @@
rich: {
a: {
fontSize: 34,
- color: 'auto',
+ color: 'inherit',
},
b: {
fontSize: 20,
@@ -332,14 +332,14 @@
length :12, // 属性length控制线长
distance: 10,
lineStyle: { // 属性lineStyle控制线条样式
- color: 'auto'
+ color: 'inherit'
}
},
splitLine: { // 分隔线
length :20, // 属性length控制线长
distance: 10,
lineStyle: { // 属性lineStyle(详见lineStyle)控制线条样式
- color: 'auto'
+ color: 'inherit'
}
},
pointer: {
@@ -378,7 +378,7 @@
length :10, // 属性length控制线长
distance: 10,
lineStyle: { // 属性lineStyle控制线条样式
- color: 'auto'
+ color: 'inherit'
}
},
axisLabel: {
@@ -394,7 +394,7 @@
length :15, // 属性length控制线长
distance: 10,
lineStyle: { // 属性lineStyle(详见lineStyle)控制线条样式
- color: 'auto'
+ color: 'inherit'
}
},
pointer: {
@@ -439,7 +439,7 @@
splitLine: { // 分隔线
length :15, // 属性length控制线长
lineStyle: { // 属性lineStyle(详见lineStyle)控制线条样式
- color: 'auto'
+ color: 'inherit'
}
},
pointer: {
diff --git a/test/graph-grid.html b/test/graph-grid.html
index 85843850ec..75469d2473 100644
--- a/test/graph-grid.html
+++ b/test/graph-grid.html
@@ -53,7 +53,7 @@
value: val,
label: {
normal: {
- borderColor: 'auto',
+ borderColor: 'inherit',
borderWidth: 1,
padding: 5,
position: 'top'