This commit is contained in:
姚宇浩 2024-06-05 11:08:05 +08:00
parent febafbc37b
commit 50ce81e895
1 changed files with 5 additions and 5 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,7 +386,7 @@ const getOption = () => {
symbolPosition: "end", symbolPosition: "end",
data: data.list1, data: data.list1,
symbol: "diamond", symbol: "diamond",
symbolOffset: ["-20%", "-50%"], symbolOffset: ["-50%", "-50%"],
symbolSize: [14, 8], symbolSize: [14, 8],
itemStyle: { itemStyle: {
borderColor: "#2fffa4", borderColor: "#2fffa4",
@ -414,7 +414,7 @@ const getOption = () => {
symbolPosition: "end", symbolPosition: "end",
data: data.list3, data: data.list3,
symbol: "diamond", symbol: "diamond",
symbolOffset: [5, "-50%"], symbolOffset: [8, "-50%"],
symbolSize: [14, 8], symbolSize: [14, 8],
itemStyle: { itemStyle: {
borderColor: "#32ffee", borderColor: "#32ffee",