|
@@ -80,23 +80,21 @@ const styleName2 = {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
itemStyle: {
|
|
itemStyle: {
|
|
- normal:{
|
|
|
|
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
- {
|
|
|
|
- offset: 0,
|
|
|
|
- color: "#BBA269",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- offset: 1,
|
|
|
|
- color: "#3D3523",
|
|
|
|
- },
|
|
|
|
- ]),
|
|
|
|
- },
|
|
|
|
- emphasis: {
|
|
|
|
- color: '#B81500' // 高亮时的颜色
|
|
|
|
- },
|
|
|
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
+ {
|
|
|
|
+ offset: 0,
|
|
|
|
+ color: "#BBA269",
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ offset: 1,
|
|
|
|
+ color: "#3D3523",
|
|
|
|
+ },
|
|
|
|
+ ]),
|
|
// borderRadius: [2, 2, 0, 0],
|
|
// borderRadius: [2, 2, 0, 0],
|
|
},
|
|
},
|
|
|
|
+ emphasis: {
|
|
|
|
+ color: '#B81500' // 高亮时的颜色
|
|
|
|
+ },
|
|
},
|
|
},
|
|
{
|
|
{
|
|
data: [0, 1, 0,13],
|
|
data: [0, 1, 0,13],
|
|
@@ -112,23 +110,21 @@ const styleName2 = {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
itemStyle: {
|
|
itemStyle: {
|
|
- normal:{
|
|
|
|
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
- {
|
|
|
|
- offset: 0,
|
|
|
|
- color: "#ff0000",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- offset: 1,
|
|
|
|
- color: "#B81500",
|
|
|
|
- },
|
|
|
|
- ]),
|
|
|
|
- },
|
|
|
|
- emphasis: {
|
|
|
|
- color: '#B81500' // 高亮时的颜色
|
|
|
|
- },
|
|
|
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
+ {
|
|
|
|
+ offset: 0,
|
|
|
|
+ color: "#ff0000",
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ offset: 1,
|
|
|
|
+ color: "#B81500",
|
|
|
|
+ },
|
|
|
|
+ ]),
|
|
borderRadius: [2, 2, 0, 0],
|
|
borderRadius: [2, 2, 0, 0],
|
|
},
|
|
},
|
|
|
|
+ emphasis: {
|
|
|
|
+ color: '#B81500' // 高亮时的颜色
|
|
|
|
+ },
|
|
},
|
|
},
|
|
{
|
|
{
|
|
data: [16,15,16, 3],
|
|
data: [16,15,16, 3],
|
|
@@ -136,14 +132,12 @@ const styleName2 = {
|
|
barWidth: 26,
|
|
barWidth: 26,
|
|
stack: "total",
|
|
stack: "total",
|
|
itemStyle: {
|
|
itemStyle: {
|
|
- normal:{
|
|
|
|
- color: "rgba(56,56,56,0.94)",
|
|
|
|
- },
|
|
|
|
- emphasis: {
|
|
|
|
- color: '#B81500' // 高亮时的颜色
|
|
|
|
- },
|
|
|
|
|
|
+ color: "rgba(56,56,56,0.94)",
|
|
borderRadius: [2, 2, 0, 0],
|
|
borderRadius: [2, 2, 0, 0],
|
|
},
|
|
},
|
|
|
|
+ emphasis: {
|
|
|
|
+ color: '#B81500' // 高亮时的颜色
|
|
|
|
+ },
|
|
label: {
|
|
label: {
|
|
show: true,
|
|
show: true,
|
|
position: "insideTop",
|
|
position: "insideTop",
|
|
@@ -173,23 +167,21 @@ const styleName3 = {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
itemStyle: {
|
|
itemStyle: {
|
|
- normal:{
|
|
|
|
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
- {
|
|
|
|
- offset: 0,
|
|
|
|
- color: "#BBA269",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- offset: 1,
|
|
|
|
- color: "#3D3523",
|
|
|
|
- },
|
|
|
|
- ]),
|
|
|
|
- },
|
|
|
|
- emphasis: {
|
|
|
|
- color: '#006F0B' // 高亮时的颜色
|
|
|
|
- },
|
|
|
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
+ {
|
|
|
|
+ offset: 0,
|
|
|
|
+ color: "#BBA269",
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ offset: 1,
|
|
|
|
+ color: "#3D3523",
|
|
|
|
+ },
|
|
|
|
+ ]),
|
|
// borderRadius: [2, 2, 0, 0],
|
|
// borderRadius: [2, 2, 0, 0],
|
|
},
|
|
},
|
|
|
|
+ emphasis: {
|
|
|
|
+ color: '#006F0B' // 高亮时的颜色
|
|
|
|
+ },
|
|
},
|
|
},
|
|
{
|
|
{
|
|
data: [16, 16, 16, 0],
|
|
data: [16, 16, 16, 0],
|
|
@@ -205,23 +197,21 @@ const styleName3 = {
|
|
},
|
|
},
|
|
},
|
|
},
|
|
itemStyle: {
|
|
itemStyle: {
|
|
- normal:{
|
|
|
|
- color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
- {
|
|
|
|
- offset: 0,
|
|
|
|
- color: "#bb7d4c",
|
|
|
|
- },
|
|
|
|
- {
|
|
|
|
- offset: 1,
|
|
|
|
- color: "#90603a",
|
|
|
|
- },
|
|
|
|
- ]),
|
|
|
|
- },
|
|
|
|
- emphasis: {
|
|
|
|
- color: '#006F0B' // 高亮时的颜色
|
|
|
|
- },
|
|
|
|
|
|
+ color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
|
|
|
|
+ {
|
|
|
|
+ offset: 0,
|
|
|
|
+ color: "#bb7d4c",
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ offset: 1,
|
|
|
|
+ color: "#90603a",
|
|
|
|
+ },
|
|
|
|
+ ]),
|
|
borderRadius: [2, 2, 0, 0],
|
|
borderRadius: [2, 2, 0, 0],
|
|
},
|
|
},
|
|
|
|
+ emphasis: {
|
|
|
|
+ color: '#006F0B' // 高亮时的颜色
|
|
|
|
+ },
|
|
},
|
|
},
|
|
{
|
|
{
|
|
data: [0,0, 0, 0],
|
|
data: [0,0, 0, 0],
|
|
@@ -229,14 +219,12 @@ const styleName3 = {
|
|
barWidth: 26,
|
|
barWidth: 26,
|
|
stack: "total",
|
|
stack: "total",
|
|
itemStyle: {
|
|
itemStyle: {
|
|
- normal:{
|
|
|
|
- color: "rgba(56,56,56,0.94)",
|
|
|
|
- },
|
|
|
|
- emphasis: {
|
|
|
|
- color: '#006F0B' // 高亮时的颜色
|
|
|
|
- },
|
|
|
|
|
|
+ color: "rgba(56,56,56,0.94)",
|
|
borderRadius: [2, 2, 0, 0],
|
|
borderRadius: [2, 2, 0, 0],
|
|
},
|
|
},
|
|
|
|
+ emphasis: {
|
|
|
|
+ color: '#006F0B' // 高亮时的颜色
|
|
|
|
+ },
|
|
label: {
|
|
label: {
|
|
show: true,
|
|
show: true,
|
|
position: "insideTop",
|
|
position: "insideTop",
|