This commit is contained in:
姚宇浩 2024-06-04 13:54:06 +08:00
parent ad414a9e6f
commit e373f23594
1 changed files with 8 additions and 8 deletions

View File

@ -246,7 +246,7 @@ const getOption = () => {
yAxisIndex: 0, yAxisIndex: 0,
name: "特困救助人次", name: "特困救助人次",
data: data.list1, data: data.list1,
barWidth: 10, barWidth: 15,
type: "bar", type: "bar",
// itemStyle: { // itemStyle: {
// color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ // color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
@ -282,7 +282,7 @@ const getOption = () => {
yAxisIndex: 0, yAxisIndex: 0,
name: "低保救助人次", name: "低保救助人次",
data: data.list2, data: data.list2,
barWidth: 10, barWidth: 15,
type: "bar", type: "bar",
itemStyle: { itemStyle: {
color: { color: {
@ -318,7 +318,7 @@ const getOption = () => {
yAxisIndex: 0, yAxisIndex: 0,
name: "低边救助人次", name: "低边救助人次",
data: data.list3, data: data.list3,
barWidth: 10, barWidth: 15,
type: "bar", type: "bar",
itemStyle: { itemStyle: {
color: { color: {
@ -386,8 +386,8 @@ const getOption = () => {
symbolPosition: "end", symbolPosition: "end",
data: data.list1, data: data.list1,
symbol: "diamond", symbol: "diamond",
symbolOffset: ["-20%", "-50%"], symbolOffset: ["-45%", "-50%"],
symbolSize: [14, 8], symbolSize: [16, 8],
itemStyle: { itemStyle: {
borderColor: "#2fffa4", borderColor: "#2fffa4",
color: "rgba(142, 187, 255, 1)", color: "rgba(142, 187, 255, 1)",
@ -401,7 +401,7 @@ const getOption = () => {
data: data.list2, data: data.list2,
symbol: "diamond", symbol: "diamond",
symbolOffset: ["0", "-50%"], symbolOffset: ["0", "-50%"],
symbolSize: [14, 8], symbolSize: [16, 8],
itemStyle: { itemStyle: {
borderColor: "#2fffa4", borderColor: "#2fffa4",
color: "rgba(23, 136, 255, 1)", color: "rgba(23, 136, 255, 1)",
@ -414,8 +414,8 @@ const getOption = () => {
symbolPosition: "end", symbolPosition: "end",
data: data.list3, data: data.list3,
symbol: "diamond", symbol: "diamond",
symbolOffset: [5, "-50%"], symbolOffset: [7.5, "-50%"],
symbolSize: [14, 8], symbolSize: [16, 8],
itemStyle: { itemStyle: {
borderColor: "#32ffee", borderColor: "#32ffee",
color: "rgba(23, 237, 255, 1)", color: "rgba(23, 237, 255, 1)",