fix(测试跟踪): 添加chart图例最小数据的角度及高度
This commit is contained in:
parent
fc62b403d6
commit
0373b10813
|
@ -110,6 +110,7 @@ export default {
|
||||||
data: yAxis1,
|
data: yAxis1,
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
barWidth: 16,
|
barWidth: 16,
|
||||||
|
barMinHeight: 5,
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
color: '#AA4FBF',
|
color: '#AA4FBF',
|
||||||
barBorderRadius: [2, 2, 0, 0]
|
barBorderRadius: [2, 2, 0, 0]
|
||||||
|
@ -120,6 +121,7 @@ export default {
|
||||||
data: yAxis2,
|
data: yAxis2,
|
||||||
type: 'bar',
|
type: 'bar',
|
||||||
barWidth: 16,
|
barWidth: 16,
|
||||||
|
barMinHeight: 5,
|
||||||
itemStyle: {
|
itemStyle: {
|
||||||
color: '#F9CB2E',
|
color: '#F9CB2E',
|
||||||
barBorderRadius: [2, 2, 0, 0]
|
barBorderRadius: [2, 2, 0, 0]
|
||||||
|
|
|
@ -126,6 +126,7 @@ export default {
|
||||||
selectedMode: dataIsNotEmpty,
|
selectedMode: dataIsNotEmpty,
|
||||||
itemGap: 16,
|
itemGap: 16,
|
||||||
left: '50%',
|
left: '50%',
|
||||||
|
top: 50,
|
||||||
y: 'center',
|
y: 'center',
|
||||||
itemHeight: 8,
|
itemHeight: 8,
|
||||||
itemWidth: 8, //修改icon图形大小
|
itemWidth: 8, //修改icon图形大小
|
||||||
|
@ -212,6 +213,7 @@ export default {
|
||||||
avoidLabelOverlap: false,
|
avoidLabelOverlap: false,
|
||||||
hoverAnimation: dataIsNotEmpty,
|
hoverAnimation: dataIsNotEmpty,
|
||||||
legendHoverLink: false,
|
legendHoverLink: false,
|
||||||
|
minAngle: 5,
|
||||||
label: {
|
label: {
|
||||||
show: false,
|
show: false,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue