fix:1.修复explore 表格无法显示的bug 2.explore图表悬浮时显示点
This commit is contained in:
@@ -255,6 +255,7 @@ function days(value,index,type=1){
|
|||||||
* unitIndex:不需要传递,用于递归获取units中的单位
|
* unitIndex:不需要传递,用于递归获取units中的单位
|
||||||
* */
|
* */
|
||||||
function asciiCompute(num,ascii,units,dot=2,unitIndex=0){
|
function asciiCompute(num,ascii,units,dot=2,unitIndex=0){
|
||||||
|
num=Number(num)
|
||||||
let quotient=num / ascii;
|
let quotient=num / ascii;
|
||||||
if(unitIndex <= units.length-1){
|
if(unitIndex <= units.length-1){
|
||||||
if(quotient <1 ){ //不足以进位
|
if(quotient <1 ){ //不足以进位
|
||||||
|
|||||||
@@ -304,7 +304,9 @@ instance_cpu_time_ns{app="fox", proc="widget", rev="4d3a513", env="prod", job="c
|
|||||||
data.forEach((result, i) => {
|
data.forEach((result, i) => {
|
||||||
let seriesItem = {
|
let seriesItem = {
|
||||||
name: '',
|
name: '',
|
||||||
symbol: 'none', //去掉点
|
symbol:'emptyCircle', //去掉点
|
||||||
|
symbolSize:[2,2],
|
||||||
|
showSymbol:false,
|
||||||
smooth: 0.2, //曲线变平滑
|
smooth: 0.2, //曲线变平滑
|
||||||
data: [],
|
data: [],
|
||||||
type: 'line',
|
type: 'line',
|
||||||
|
|||||||
Reference in New Issue
Block a user