Commit bd76c66e by kay delaney Committed by GitHub

Explore/Logs: Fix tooltip display for log graph (#25544)

parent 8fcbea2c
...@@ -153,6 +153,9 @@ export function makeSeriesForLogs(sortedRows: LogRowModel[], bucketSize: number, ...@@ -153,6 +153,9 @@ export function makeSeriesForLogs(sortedRows: LogRowModel[], bucketSize: number,
...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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment