This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/datadoStandardCalcs

doStandardCalcs() function

doStandardCalcs() function

Signature

export declare function doStandardCalcs(field: Field, ignoreNulls: boolean, nullAsZero: boolean): FieldCalcs;

Import

import { doStandardCalcs } from '@grafana/data';

Parameters

Parameter Type Description
field Field
ignoreNulls boolean
nullAsZero boolean

Returns:

FieldCalcs