SeriesAccessors
Defines accessors used to pull values from data.
Props
xAccessor
- Type:
xAccessor: Accessor<D> | AccessorFn<D>
The field name of the x value on Datum object.
yAccessors
- Type:
yAccessors: (Accessor<D> | AccessorFn<D>)[]
An array of field names one per y metric value.
y0Accessors
- Type:
y0Accessors?: (Accessor<D> | AccessorFn<D>)[]
An optional accessor of the y0 value: base point for area/bar charts.
splitSeriesAccessors
- Type:
splitSeriesAccessors?: (Accessor<D> | AccessorFn<D>)[]
An array of fields thats indicates the datum series membership.
stackAccessors
- Type:
stackAccessors?: (Accessor<any> | AccessorFn<any>)[]
An array of fields thats indicates the stack membership. Does not depend on datum at the moment.
markSizeAccessor
- Type:
markSizeAccessor?: Accessor<D> | AccessorFn<D>
Field name of mark size value on Datum
.
info
Only applied when used with LineSeries
or AreaSeries