+++ # ----------------------------------------------------------------------- # Do not edit this file. It is automatically generated by API Documenter. # ----------------------------------------------------------------------- title = "calculateStats" keywords = ["grafana","documentation","sdk","@grafana/data"] type = "docs" +++ ## calculateStats() function ### calculateStats() function Signature ```typescript export declare function calculateStats(values: any[]): LogLabelStatsModel[]; ``` Import ```typescript import { calculateStats } from '@grafana/data'; ``` Parameters | Parameter | Type | Description | | --- | --- | --- | | values | any[] | | Returns: `LogLabelStatsModel[]`