BarStyleAccessor
@elastic/charts • Exports
@elastic/charts / BarStyleAccessor
Type alias: BarStyleAccessor
BarStyleAccessor: (
datum
,seriesIdentifier
) =>BarStyleOverride
Override for bar styles per datum
Return types:
Color
: Color value as astring
will set the barfill
to that colorRecursivePartial<BarSeriesStyle>
: Style values to be merged with base bar stylesnull
: Keep existing bar style
Parameters
• datum: DataSeriesDatum
• seriesIdentifier: XYChartSeriesIdentifier
Returns
Source
packages/charts/src/chart_types/xy_chart/utils/specs.ts:91
Generated using typedoc-plugin-markdown and TypeDoc