SeriesAccessors
@elastic/charts • Exports
@elastic/charts / SeriesAccessors
Interface: SeriesAccessors<D>
Contents
Type parameters
• D extends BaseDatum = any
Properties
markSizeAccessor?
markSizeAccessor?:
Accessor<D> |AccessorFn<D>
Field name of mark size metric on Datum
Only used with line/area series
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:499
splitSeriesAccessors?
splitSeriesAccessors?: (
Accessor<D> |AccessorFn<D>)[]
An array of fields thats indicates the datum series membership
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:486
stackAccessors?
stackAccessors?: (
Accessor<any> |AccessorFn<any>)[]
An array of fields thats indicates the stack membership. Does not depend on datum at the moment.
TODO pass datum to accessors when applicable
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:493
xAccessor
xAccessor:
Accessor<D> |AccessorFn<D>
The field name of the x value on Datum object
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:480
y0Accessors?
y0Accessors?: (
Accessor<D> |AccessorFn<D>)[]
An optional accessor of the y0 value: base point for area/bar charts
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:484
yAccessors
yAccessors: (
Accessor<D> |AccessorFn<D>)[]
An array of field names one per y metric value
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:482
Generated using typedoc-plugin-markdown and TypeDoc