Skip to main content

PointStyleAccessor

@elastic/chartsExports


@elastic/charts / PointStyleAccessor

Type alias: PointStyleAccessor

PointStyleAccessor: (datum, seriesIdentifier, isolatedPoint) => PointStyleOverride

Override for bar styles per datum

Return types:

  • Color: Color value as a string will set the point stroke to that color
  • RecursivePartial<PointStyle>: Style values to be merged with base point styles
  • null: Keep existing point style

Parameters

datum: DataSeriesDatum

seriesIdentifier: XYChartSeriesIdentifier

isolatedPoint: boolean

Returns

PointStyleOverride

Source

packages/charts/src/chart_types/xy_chart/utils/specs.ts:101


Generated using typedoc-plugin-markdown and TypeDoc