change colors
This commit is contained in:
parent
d5a212c76f
commit
7904c446bf
@ -184,7 +184,7 @@ function getPlotOptions() {
|
||||
itemStyle: {
|
||||
color: (params) => {
|
||||
// Set color based on positive or negative value
|
||||
return params.data >= 0 ? '#10DB06' : '#FF2F1F';
|
||||
return params.data >= 0 ? '#22C55E' : '#F71F4F';
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@ -90,7 +90,7 @@ function getPlotOptions() {
|
||||
itemStyle: {
|
||||
color: (params) => {
|
||||
// Set color based on positive or negative value
|
||||
return params.data >= 0 ? '#10DB06' : '#FF2F1F';
|
||||
return params.data >= 0 ? '#22C55E' : '#F71F4F';
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@ -90,7 +90,7 @@ function getPlotOptions() {
|
||||
itemStyle: {
|
||||
color: (params) => {
|
||||
// Set color based on positive or negative value
|
||||
return params.data >= 0 ? '#10DB06' : '#FF2F1F';
|
||||
return params.data >= 0 ? '#22C55E' : '#F71F4F';
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@ -90,7 +90,7 @@ function getPlotOptions() {
|
||||
itemStyle: {
|
||||
color: (params) => {
|
||||
// Set color based on positive or negative value
|
||||
return params.data >= 0 ? '#10DB06' : '#FF2F1F';
|
||||
return params.data >= 0 ? '#22C55E' : '#F71F4F';
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@ -90,7 +90,7 @@ function getPlotOptions() {
|
||||
itemStyle: {
|
||||
color: (params) => {
|
||||
// Set color based on positive or negative value
|
||||
return params.data >= 0 ? '#10DB06' : '#FF2F1F';
|
||||
return params.data >= 0 ? '#22C55E' : '#F71F4F';
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@ -90,7 +90,7 @@ function getPlotOptions() {
|
||||
itemStyle: {
|
||||
color: (params) => {
|
||||
// Set color based on positive or negative value
|
||||
return params.data >= 0 ? '#10DB06' : '#FF2F1F';
|
||||
return params.data >= 0 ? '#22C55E' : '#F71F4F';
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@ -90,7 +90,7 @@ function getPlotOptions() {
|
||||
itemStyle: {
|
||||
color: (params) => {
|
||||
// Set color based on positive or negative value
|
||||
return params.data >= 0 ? '#10DB06' : '#FF2F1F';
|
||||
return params.data >= 0 ? '#22C55E' : '#F71F4F';
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@ -90,7 +90,7 @@ function getPlotOptions() {
|
||||
itemStyle: {
|
||||
color: (params) => {
|
||||
// Set color based on positive or negative value
|
||||
return params.data >= 0 ? '#10DB06' : '#FF2F1F';
|
||||
return params.data >= 0 ? '#22C55E' : '#F71F4F';
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@ -90,7 +90,7 @@ function getPlotOptions() {
|
||||
itemStyle: {
|
||||
color: (params) => {
|
||||
// Set color based on positive or negative value
|
||||
return params.data >= 0 ? '#10DB06' : '#FF2F1F';
|
||||
return params.data >= 0 ? '#22C55E' : '#F71F4F';
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@ -90,7 +90,7 @@ function getPlotOptions() {
|
||||
itemStyle: {
|
||||
color: (params) => {
|
||||
// Set color based on positive or negative value
|
||||
return params.data >= 0 ? '#10DB06' : '#FF2F1F';
|
||||
return params.data >= 0 ? '#22C55E' : '#F71F4F';
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@ -90,7 +90,7 @@ function getPlotOptions() {
|
||||
itemStyle: {
|
||||
color: (params) => {
|
||||
// Set color based on positive or negative value
|
||||
return params.data >= 0 ? '#10DB06' : '#FF2F1F';
|
||||
return params.data >= 0 ? '#22C55E' : '#F71F4F';
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
@ -172,7 +172,7 @@ function selectSortingMethod(state:string) {
|
||||
itemStyle: {
|
||||
// Define colors based on positive/negative values
|
||||
color: function(params) {
|
||||
return params.data >= 0 ? '#10DB06' : '#FF2F1F';
|
||||
return params.data >= 0 ? '#22C55E' : '#F71F4F';
|
||||
}
|
||||
},
|
||||
},
|
||||
@ -252,7 +252,7 @@ function plotGrowth() {
|
||||
itemStyle: {
|
||||
// Define colors based on positive/negative values
|
||||
color: function(params) {
|
||||
return params.data >= 0 ? '#10DB06' : '#FF2F1F';
|
||||
return params.data >= 0 ? '#22C55E' : '#F71F4F';
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user