Skip to main content

Partition

@elastic/chartsExports


@elastic/charts / Partition

Function: Partition()

Partition<D>(props): null

Adds partition spec to chart specs

Type parameters

D extends BaseDatum = any

Parameters

props: SFProps<PartitionSpec<D>, "chartType" | "specType", "valueAccessor" | "valueFormatter" | "smallMultiples" | "layers" | "animation" | "valueGetter" | "fillOutside" | "radiusOutside" | "fillRectangleWidth" | "fillRectangleHeight" | "layout" | "topGroove" | "percentFormatter" | "clockwiseSectors" | "maxRowCount" | "specialFirstInnermostSector" | "drilldown", never, SFRequiredKeys<PartitionSpec<any>, "chartType" | "specType", "valueAccessor" | "valueFormatter" | "smallMultiples" | "layers" | "animation" | "valueGetter" | "fillOutside" | "radiusOutside" | "fillRectangleWidth" | "fillRectangleHeight" | "layout" | "topGroove" | "percentFormatter" | "clockwiseSectors" | "maxRowCount" | "specialFirstInnermostSector" | "drilldown", never>>

Returns

null

Source

packages/charts/src/chart_types/partition_chart/specs/index.ts:121


Generated using typedoc-plugin-markdown and TypeDoc