修改铝内胆成型线

master
夜笙歌 2 years ago
parent 3e0947dadf
commit 1167b177b8

@ -16,7 +16,7 @@ const horizontalBarChart = (res, ids) => {
const xValue = res.map(val => val.xValue) const xValue = res.map(val => val.xValue)
const yValue = res.map(val => val.yValue) const yValue = res.map(val => val.yValue)
//参考https://www.makeapie.com/editor.html?c=xqjNqqjc_U
let seriesName = "产量"; let seriesName = "产量";
let attackSourcesColor = [ let attackSourcesColor = [
@ -54,10 +54,7 @@ const horizontalBarChart = (res, ids) => {
let stationData = []; let stationData = [];
let values = []; let values = [];
// res.forEach(function (it, index) {
// stationData.push(it.station);
// values.push(it.value);
// });
function dataFormat(data) { function dataFormat(data) {
let arr = []; let arr = [];
@ -82,7 +79,7 @@ const horizontalBarChart = (res, ids) => {
}, },
grid: { grid: {
top: "9%", top: "9%",
left: "-9%", left: "-30%",
right: "4%", right: "4%",
bottom: "3%", bottom: "3%",
containLabel: true, containLabel: true,
@ -344,7 +341,6 @@ const threeDimensionalCylindrical = (res, ids) => {
let mycharts = echarts.init(ids); let mycharts = echarts.init(ids);
const xValue = res.map(val => val.materialName) const xValue = res.map(val => val.materialName)
const yValue = res.map(val => val.lineStoreAmount) const yValue = res.map(val => val.lineStoreAmount)
let barTopColor = ["#02c3f1"]; let barTopColor = ["#02c3f1"];
let barBottomColor = [ let barBottomColor = [
"rgba(2,195,241,0.1)", "rgba(2,195,241,0.1)",

Loading…
Cancel
Save