Skip to main content

UnaryAccessorFn

@elastic/chartsExports


@elastic/charts / UnaryAccessorFn

Interface: UnaryAccessorFn()<D, Return>

Accessor function

Contents

Param

the datum

Type parameters

D extends BaseDatum = any

Return = any

UnaryAccessorFn(datum): Return

Parameters

datum: D

Returns

Return

Source

packages/charts/src/utils/accessor.ts:21

Properties

fieldName?

fieldName?: string

Name used as accessor field name in place of function reference

Source

packages/charts/src/utils/accessor.ts:20


Generated using typedoc-plugin-markdown and TypeDoc