feat:新功能

1 增加图表类型singleStat:新增,修改,删除,全屏,列表显示图表数据,拖拽改变大小,拖拽改变位置,按时间查询,刷新,预览
This commit is contained in:
hyx
2020-05-07 21:02:09 +08:00
parent 7f15d3563d
commit de1b85b236
9 changed files with 1156 additions and 278 deletions

View File

@@ -107,6 +107,7 @@ const en = {
selectPanelTitle:'Select', //"选择面板"
createPanelTitleSec:'New panel',//"新增面板"
editPanelTitle: 'Panel', //"面板"
singleStatErrorTip:'Only queries that return single series/table is supported',
panelForm:{
panelName:'Panel name', //"面板名称"
panelId:"ID" //ID
@@ -121,6 +122,7 @@ const en = {
unit:"Unit",
url:"URL",
legend:'Legend',
statistics:'Statistics',
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:{
@@ -137,8 +139,21 @@ const en = {
},
url:{
label:"URL"
},
singleStat:{
label:"SingleStat"
}
},
statisticsVal:{
min:'Min',
max:'Max',
average:'Average',
total:'Total',
first:'First',
last:'Last',
range:'Range',
different:'Different',
},
width:'Width', //"宽"
high:'High', //"高"
metric:'Metric', //"指标"