feat:新功能
1 tooltip颜色随机产生 fix:修改问题 1 x轴时间优化显示 2 面积图,透明度调整为0.3 3 点击1个legend,剩余的tooltip不对 4 新增chart:panel显示当前页面的panel,对齐输入框,chart name名字修改 5 chart错误信息参考grafana修改(进行中)
This commit is contained in:
@@ -597,15 +597,16 @@ export default {
|
||||
smooth:true, //曲线变平滑
|
||||
data: [],
|
||||
type:chartInfo.type,
|
||||
},
|
||||
//visible: true,
|
||||
//threshold: null,
|
||||
},
|
||||
metric_name: '',
|
||||
};
|
||||
|
||||
if(chartInfo.type === 'stackArea'){
|
||||
seriesItem.theData.type='line';
|
||||
seriesItem.theData.stack=chartInfo.title;
|
||||
seriesItem.theData.areaStyle={};
|
||||
seriesItem.theData.areaStyle={"opacity": 0.3};
|
||||
}
|
||||
// 图表中每条线的名字,后半部分
|
||||
let host = '';//up,
|
||||
|
||||
Reference in New Issue
Block a user