Skip to main content

LegendValue

@elastic/chartsExports


@elastic/charts / LegendValue

Variable: LegendValue

const LegendValue: Readonly<Object>

Type declaration

Average

Average: "average"

Average value considering all data points in the chart

Count

Count: "count"

number of data points plotted in the chart

CurrentAndLastValue

CurrentAndLastValue: "currentAndLastValue"

Value of the bucket being hovered or last bucket value when not hovering.

Difference

Difference: "difference"

Difference between first and last values

DifferencePercent

DifferencePercent: "differencePercent"

% difference between first and last values

DistinctCount

DistinctCount: "distinctCount"

number of data points with different values plotted in the chart

FirstNonNullValue

FirstNonNullValue: "firstNonNullValue"

First non-null value

FirstValue

FirstValue: "firstValue"

First value considering all data points in the chart

LastNonNullValue

LastNonNullValue: "lastNonNullValue"

Last non-null value

LastValue

LastValue: "lastValue"

Last value considering all data points in the chart

Max

Max: "max"

Maximum value considering all data points in the chart

Median

Median: "median"

Median value considering all data points in the chart

Min

Min: "min"

Minimum value considering all data points in the chart

Percent

Percent: "percent"

Partition section value in percent

Range

Range: "range"

Difference between min and max values

StdDeviation

StdDeviation: "stdDeviation"

Standard deviation of all data points plotted in the chart

Total

Total: "total"

Sum of al values plotted in the chart

Value

Value: "value"

Partition section value

Variance

Variance: "variance"

Variance of all data points plotted in the chart

Source

packages/charts/src/common/legend.ts:26


Generated using typedoc-plugin-markdown and TypeDoc