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