visualMap:{
pieces:[
{
lte:threshold.echartsCode[i+4].toString(),
color:"red"
},
{
gt:threshold.echartsCode[i+4],
lte:threshold.echartsCode[i],
color:"#5470c6"
},
{
gt:threshold.echartsCode[i],
color:"red"
},
],
left:"center",
top: "25",
orient: "horizontal"
},
这个gt和lte只能是整数吗,为什么我的是小数他给我四舍五入转为整数了。