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,
|
||||
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({
|
||||
xField: timeField,
|
||||
|
||||
Reference in New Issue
Block a user