修改铝内胆成型线

master
夜笙歌 2 years ago
parent 9e4dc52596
commit dd0ed4e31c

@ -79,7 +79,7 @@ const horizontalBarChart = (res, ids) => {
}, },
grid: { grid: {
top: "9%", top: "9%",
left: "-30%", left: "0%",
right: "4%", right: "4%",
bottom: "3%", bottom: "3%",
containLabel: true, containLabel: true,
@ -137,24 +137,24 @@ const horizontalBarChart = (res, ids) => {
data: dataFormat(yValue), data: dataFormat(yValue),
}, },
{ // {
type: "category", // type: "category",
inverse: true, // inverse: true,
offset: -10, // offset: -10,
position: "left", // position: "left",
axisTick: "none", // axisTick: "none",
axisLine: "none", // axisLine: "none",
show: true, // show: true,
axisLabel: { // axisLabel: {
interval: 0, // interval: 0,
color: ["#A8A6AB"], // color: ["#A8A6AB"],
align: "left", // align: "left",
verticalAlign: "bottom", // verticalAlign: "bottom",
lineHeight: 32, // lineHeight: 32,
fontSize: 12, // fontSize: 12,
}, // },
data: dataFormat(xValue), // data: dataFormat(xValue),
}, // },
], ],
series: [ series: [
{ {
@ -170,11 +170,12 @@ const horizontalBarChart = (res, ids) => {
}, },
}, },
label: { label: {
show: false, show: true,
fontSize: 12, fontSize: 12,
color: "#A8A6AB", color: "#A8A6AB",
textBorderWidth: 2, textBorderWidth: 2,
padding: [2, 0, 0, 0], position:'insideTopLeft',
padding: [-20, 0, 0, 0],
}, },
}, },
{ {

Loading…
Cancel
Save