mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
@@ -82,8 +82,8 @@ export const TooltipPlugin: React.FC<TooltipPluginProps> = ({ mode = 'single', t
|
|||||||
for (let i = 0; i < otherProps.data.length; i++) {
|
for (let i = 0; i < otherProps.data.length; i++) {
|
||||||
series = series.concat(
|
series = series.concat(
|
||||||
otherProps.data[i].fields.reduce<SeriesTableRowProps[]>((agg, f, j) => {
|
otherProps.data[i].fields.reduce<SeriesTableRowProps[]>((agg, f, j) => {
|
||||||
// skipping time field and non-numeric fields
|
// skipping xField, time fields, and non-numeric fields
|
||||||
if (f.type === FieldType.time || f.type !== FieldType.number) {
|
if (f === xField || f.type === FieldType.time || f.type !== FieldType.number) {
|
||||||
return agg;
|
return agg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user