pref:dashboard legend点击交互 & legend 别名功能优化

1.dashboard legend点击逻辑与grafana保持一致
2.legend别名显示、配置优化
3.tooltip 使用别名
4.抽取公共的重新设置popover z-index 的方法到common.js
This commit is contained in:
wangwenrui
2020-03-04 20:30:25 +08:00
parent 06bb5423d9
commit c2331eaeeb
8 changed files with 188 additions and 52 deletions

View File

@@ -85,6 +85,8 @@ const en = {
chartId:"ID",
chartName:"Chart Name",
type:"Type",
legend:'Legend',
legendTip:'Controls the name of the time series, using name or pattern. For example {{hostname}} will be replaced with label value for the label hostname.',
typeVal:{
line:{
label:'Line Chart' //"曲线图"
@@ -104,6 +106,7 @@ const en = {
chartTableColumn:{
metric:'Metric', //'指标'
label:'Label', //'标签'
element:'Element',
time:'Time', //'时间'
value:'Value', //'值'
},