FormattedVector class

Signature

  1. export declare class FormattedVector<T = any> extends FunctionalVector<string>

Import

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

Constructors

ConstructorModifiersDescription
constructor(source, formatter)Constructs a new instance of the FormattedVector class

Properties

PropertyModifiersTypeDescription
lengthnumber

Methods

MethodModifiersDescription
get(index)

constructor(source, formatter)

Constructs a new instance of the FormattedVector class

Signature

  1. constructor(source: Vector<T>, formatter: DisplayProcessor);

Parameters

ParameterTypeDescription
sourceVector<T>
formatterDisplayProcessor

length property

Signature

  1. get length(): number;

get method

Signature

  1. get(index: number): string;

Parameters

ParameterTypeDescription
indexnumber

Returns:

string