We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ca1e77 commit d366ef2Copy full SHA for d366ef2
src/result_transformer.ts
@@ -1,6 +1,5 @@
1
import {
2
ArrayDataFrame,
3
- calculateFieldDisplayName,
4
CoreApp,
5
DataFrame,
6
DataFrameType,
@@ -12,6 +11,7 @@ import {
12
11
FieldType,
13
formatLabels,
14
getDisplayProcessor,
+ getFieldDisplayName,
15
Labels,
16
PreferredVisualisationType,
17
renderLegendFormat,
@@ -79,7 +79,7 @@ export function transformV2(
79
f.fields.forEach((field) => {
80
if (field.labels?.__name__ && field.labels?.__name__ === field.name) {
81
const fieldCopy = { ...field, name: TIME_SERIES_VALUE_FIELD_NAME };
82
- field.config.displayNameFromDS = calculateFieldDisplayName(fieldCopy, f, response.data);
+ field.config.displayNameFromDS = getFieldDisplayName(fieldCopy, f, response.data);
83
}
84
});
85
0 commit comments