Explore/Logs: Fix tooltip display for log graph (#25544)
(cherry picked from commit bd76c66e50)
This commit is contained in:
committed by
Dominik Prokop
parent
79126eb73b
commit
cdf2fa9ff0
@@ -156,6 +156,9 @@ export function makeSeriesForLogs(rows: LogRowModel[], intervalMs: number, timeZ
|
|||||||
...valueField.config,
|
...valueField.config,
|
||||||
color: series.color,
|
color: series.color,
|
||||||
};
|
};
|
||||||
|
valueField.name = series.alias;
|
||||||
|
const fieldDisplayProcessor = getDisplayProcessor({ field: valueField, timeZone });
|
||||||
|
valueField.display = (value: any) => ({ ...fieldDisplayProcessor(value), color: series.color });
|
||||||
|
|
||||||
const points = getFlotPairs({
|
const points = getFlotPairs({
|
||||||
xField: timeField,
|
xField: timeField,
|
||||||
|
|||||||
Reference in New Issue
Block a user