feat: enhance the legend of metrics graph widget with the summary table (#181)

This commit is contained in:
Fine0830
2022-11-10 14:55:19 +08:00
committed by GitHub
parent fd46211a37
commit b37d65eaac
29 changed files with 595 additions and 92 deletions

View File

@@ -52,17 +52,19 @@ const msg = {
instance: "Instance",
create: "Create",
loading: "Loading",
selectVisualization: "Visualize your metrics",
selectVisualization: "Visualize Metrics",
visualization: "Visualization",
graphStyles: "Graph styles",
widgetOptions: "Widget options",
standardOptions: "Standard options",
graphStyles: "Graph Styles",
widgetOptions: "Widget Options",
standardOptions: "Standard Options",
max: "Max",
min: "Min",
plus: "Plus",
mean: "Mean",
minus: "Minus",
multiply: "Multiply",
divide: "Divide",
total: "Total",
convertToMilliseconds: "Convert Unix Timestamp(milliseconds)",
convertToSeconds: "Convert Unix Timestamp(seconds)",
smooth: "Smooth",
@@ -167,6 +169,11 @@ const msg = {
enableRelatedTrace: "Enable Related Trace",
maxTraceDuration: "Maximum Duration",
minTraceDuration: "Minimum Duration",
legendOptions: "Legend Options",
showLegend: "Show Legend",
asTable: "As Table",
toTheRight: "To The Right",
legendValues: "Legend Values",
seconds: "Seconds",
hourTip: "Select Hour",
minuteTip: "Select Minute",
@@ -259,7 +266,7 @@ const msg = {
entityType: "Entity Type",
maxItemNum: "Max number of Item",
unknownMetrics: "Unknown Metrics",
labels: "Labels",
labels: "Label",
aggregation: "Calculation",
unit: "Unit",
labelsIndex: "Label Subscript",
@@ -320,6 +327,7 @@ const msg = {
eventsParameters: "Event Parameters",
eventDetail: "Event Detail",
value: "Value",
key: "Key",
show: "Show",
hide: "Hide",
statistics: "Statistics",

View File

@@ -59,9 +59,11 @@ const msg = {
standardOptions: "Opciones estandar",
max: "Máx",
min: "Mín",
mean: "Promedio",
plus: "Más",
minus: "Menoss",
multiply: "Multiplcar",
total: "Todo",
divide: "Dividir",
convertToMilliseconds: "Convertir Unix Timestamp(milisegundos)",
convertToSeconds: "Convertir Unix Timestamp(segundos)",
@@ -160,6 +162,7 @@ const msg = {
queryOrder: "Orden de consulta",
latency: "Retraso",
metricValues: "Valor métrico",
legendValues: "Valor de la leyenda",
seconds: "Segundos",
hourTip: "Seleccione Hora",
minuteTip: "Seleccione Minuto",
@@ -171,6 +174,10 @@ const msg = {
queryConditions: "Condiciones de consulta",
maxTraceDuration: "Duración máxima",
minTraceDuration: "Duración mínima",
legendOptions: "Opciones de leyenda",
showLegend: "Mostrar leyenda",
asTable: "Como tabla",
toTheRight: "Derecha",
second: "s",
yearSuffix: "Año",
monthsHead: "Ene_Feb_Mar_Abr_May_Jun_Jul_Ago_Set_Oct_Nov_Dic",
@@ -320,6 +327,7 @@ const msg = {
eventsParameters: "Parámetro del Evento",
eventDetail: "Detalle del Evento",
value: "Valor",
key: "Clave",
show: "Mostrar",
hide: "Oculatr",
statistics: "Estadísticas",

View File

@@ -56,10 +56,12 @@ const msg = {
standardOptions: "标准选项",
max: "最大值",
min: "最小值",
mean: "平均值",
plus: "加法",
minus: "减法",
multiply: "乘法",
divide: "除法",
total: "总计",
convertToMilliseconds: "转换Unix时间戳毫秒",
convertToSeconds: "转换Unix时间戳",
smooth: "光滑的",
@@ -164,6 +166,11 @@ const msg = {
queryConditions: "查询条件",
maxTraceDuration: "最大持续时间",
minTraceDuration: "最小持续时间",
legendOptions: "图例选项",
showLegend: "显示图例",
asTable: "作为表格",
toTheRight: "在右边",
legendValues: "图例值",
seconds: "秒",
hourTip: "选择小时",
minuteTip: "选择分钟",
@@ -318,6 +325,7 @@ const msg = {
eventsParameters: "事件参数",
eventDetail: "事件详情",
value: "数值",
key: "Key",
tableHeader: "表头名称",
tableValues: "表值",
show: "展示",