添加echart地图
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user