Restore groupBy naming behavior for lineGraphs
parent
3615f13c21
commit
d9455a7646
|
@ -99,11 +99,15 @@ const constructCells = serieses => {
|
||||||
vals,
|
vals,
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
const tagSet = map(Object.keys(tags), tag => `[${tag}=${tags[tag]}]`)
|
||||||
|
.sort()
|
||||||
|
.join('')
|
||||||
|
|
||||||
const unsortedLabels = map(columns.slice(1), (field, i) => ({
|
const unsortedLabels = map(columns.slice(1), (field, i) => ({
|
||||||
label:
|
label:
|
||||||
groupByColumns && i <= groupByColumns.length - 1
|
groupByColumns && i <= groupByColumns.length - 1
|
||||||
? `${field}`
|
? `${field}`
|
||||||
: `${measurement}.${field}`,
|
: `${measurement}.${field}${tagSet}`,
|
||||||
responseIndex,
|
responseIndex,
|
||||||
seriesIndex,
|
seriesIndex,
|
||||||
}))
|
}))
|
||||||
|
|
Loading…
Reference in New Issue