添加echart地图

This commit is contained in:
GGJ
2025-05-15 18:51:48 +08:00
parent c6be2452cf
commit 2ef0f92743
22 changed files with 42 additions and 64 deletions

View File

@@ -385,8 +385,9 @@ const histogram = (res: any) => {
// 定制显示(按顺序)
color: function (params) {
if (params.value == 0 || params.value == 0.14159) {
return '#ccc'
if (params.value == 0.14159) {
} else if (params.value == 0) {
return '#339966'
} else if (params.value > 2) {
return new echarts.graphic.LinearGradient(
0,