|
@@ -224,7 +224,7 @@ async function initLine() {
|
|
|
yAxisIndex: index,
|
|
|
itemStyle: { color: option.series.type == 'bar' ? '#0085ff' : metric.color, borderRadius: [6, 6, 6, 6] },
|
|
|
lineStyle: { color: metric.color },
|
|
|
- barWidth: '16px',
|
|
|
+ barMaxWidth: '16px',
|
|
|
areaStyle:
|
|
|
index !== 0
|
|
|
? {
|
|
@@ -309,7 +309,7 @@ function changeMetric() {
|
|
|
yAxisIndex: index,
|
|
|
itemStyle: { color: metric.color, borderRadius: [6, 6, 6, 6] },
|
|
|
lineStyle: { color: metric.color },
|
|
|
- barWidth: '16px',
|
|
|
+ barMaxWidth: '16px',
|
|
|
};
|
|
|
|
|
|
if (baseConfig != 'bar') {
|
|
@@ -319,6 +319,7 @@ function changeMetric() {
|
|
|
{ offset: 1, color: metric.color + '03' },
|
|
|
]),
|
|
|
};
|
|
|
+ };
|
|
|
}
|
|
|
|
|
|
return baseConfig;
|