|
|
|
|
@ -1909,7 +1909,7 @@ const multipleVerticalBarChart = function (data, id) {
|
|
|
|
|
type: "bar",
|
|
|
|
|
data: data.yDataTwo,
|
|
|
|
|
barWidth: 0.5 * vw,
|
|
|
|
|
barGap: 0.2, //柱间距离
|
|
|
|
|
barGap: 0.5, //柱间距离
|
|
|
|
|
label: {
|
|
|
|
|
//图形上的文本标签
|
|
|
|
|
normal: {
|
|
|
|
|
@ -1936,7 +1936,7 @@ const multipleVerticalBarChart = function (data, id) {
|
|
|
|
|
type: "bar",
|
|
|
|
|
data: data.yDataThree,
|
|
|
|
|
barWidth: 0.5 * vw,
|
|
|
|
|
barGap: 0.2, //柱间距离
|
|
|
|
|
barGap: 0.5, //柱间距离
|
|
|
|
|
label: {
|
|
|
|
|
//图形上的文本标签
|
|
|
|
|
normal: {
|
|
|
|
|
@ -1961,7 +1961,7 @@ const multipleVerticalBarChart = function (data, id) {
|
|
|
|
|
],
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if (data?.xName?.length >= 3) {
|
|
|
|
|
if (data?.xName?.length >= 6) {
|
|
|
|
|
option.dataZoom.push({
|
|
|
|
|
show: true,
|
|
|
|
|
type: 'slider',
|
|
|
|
|
@ -1969,7 +1969,7 @@ const multipleVerticalBarChart = function (data, id) {
|
|
|
|
|
xAxisIndex: 0,
|
|
|
|
|
height: 12,
|
|
|
|
|
start: 0,
|
|
|
|
|
end: 1 / (data.xName.length / 3) * 100,
|
|
|
|
|
end: 1 / (data.xName.length / 6) * 100,
|
|
|
|
|
textStyle: {
|
|
|
|
|
fontSize: 0,
|
|
|
|
|
color:'rgba(0,0,0,0)'
|
|
|
|
|
|