ReduceDataOptions interface

Options for how to turn DataFrames into an array of display values

Signature

  1. export interface ReduceDataOptions

Import

  1. import { ReduceDataOptions } from '@grafana/data';

Properties

PropertyTypeDescription
calcsstring[]When !values, pick one value for the whole field
fieldsstringWhich fields to show. By default this is only numeric fields
limitnumberif showing all values limit
valuesboolean

calcs property

When !values, pick one value for the whole field

Signature

  1. calcs: string[];

fields property

Which fields to show. By default this is only numeric fields

Signature

  1. fields?: string;

limit property

if showing all values limit

Signature

  1. limit?: number;

values property

Signature

  1. values?: boolean;