fix:1.修复explore 表格无法显示的bug 2.explore图表悬浮时显示点

This commit is contained in:
wangwenrui
2020-05-25 16:21:07 +08:00
parent 29cf43ab7d
commit a838649591
2 changed files with 4 additions and 1 deletions

View File

@@ -255,6 +255,7 @@ function days(value,index,type=1){
* unitIndex不需要传递用于递归获取units中的单位
* */
function asciiCompute(num,ascii,units,dot=2,unitIndex=0){
num=Number(num)
let quotient=num / ascii;
if(unitIndex <= units.length-1){
if(quotient <1 ){ //不足以进位

View File

@@ -304,7 +304,9 @@ instance_cpu_time_ns{app="fox", proc="widget", rev="4d3a513", env="prod", job="c
data.forEach((result, i) => {
let seriesItem = {
name: '',
symbol: 'none', //去掉点
symbol:'emptyCircle', //去掉点
symbolSize:[2,2],
showSymbol:false,
smooth: 0.2, //曲线变平滑
data: [],
type: 'line',