首页3d柱状图

master
xy 1 year ago
parent 7652854213
commit fcfa2a85d3

@ -617,7 +617,7 @@ export default {
type: 'bar', type: 'bar',
barWidth: barWidth, barWidth: barWidth,
name: `${this.carrySelect.month}计划`, name: `${this.carrySelect.month}计划`,
barGap: "90%", // barGap: "54%", //
itemStyle: { itemStyle: {
borderRadius: [0, 0, 0, 0],// borderRadius: [0, 0, 0, 0],//
color: color1// color: color1//
@ -639,7 +639,7 @@ export default {
type: "pictorialBar", type: "pictorialBar",
data: constData1,// data: constData1,//
symbol: "diamond",// symbol: "diamond",//
symbolOffset: ["-190%", "50%"],// symbolOffset: ["-154%", "50%"],//
symbolSize: [barWidth, 10],//[] symbolSize: [barWidth, 10],//[]
itemStyle: { itemStyle: {
normal: { normal: {
@ -657,7 +657,7 @@ export default {
symbolPosition: "end", symbolPosition: "end",
data: showData1,// data: showData1,//
symbol: "diamond", symbol: "diamond",
symbolOffset: ["-230%", "-50%"], symbolOffset: ["-184%", "-50%"],
symbolSize: [barWidth - 4, (10 * (barWidth - 4)) / barWidth], symbolSize: [barWidth - 4, (10 * (barWidth - 4)) / barWidth],
itemStyle: { itemStyle: {
normal: { normal: {
@ -753,7 +753,7 @@ export default {
type: "pictorialBar", type: "pictorialBar",
data: constData3, data: constData3,
symbol: "diamond", symbol: "diamond",
symbolOffset: ["192%", "50%"], symbolOffset: ["154%", "50%"],
symbolSize: [barWidth, 10], symbolSize: [barWidth, 10],
itemStyle: { itemStyle: {
normal: { normal: {
@ -771,7 +771,7 @@ export default {
symbolPosition: "end", symbolPosition: "end",
data: showData3, data: showData3,
symbol: "diamond", symbol: "diamond",
symbolOffset: ["233%", "-50%"], symbolOffset: ["191%", "-50%"],
symbolSize: [barWidth - 4, (10 * (barWidth - 4)) / barWidth], symbolSize: [barWidth - 4, (10 * (barWidth - 4)) / barWidth],
itemStyle: { itemStyle: {
normal: { normal: {

Loading…
Cancel
Save