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", "animation" | "layout" | "layers" | "valueFormatter" | "valueGetter" | "fillOutside" | "radiusOutside" | "fillRectangleWidth" | "fillRectangleHeight" | "topGroove" | "percentFormatter" | "clockwiseSectors" | "maxRowCount" | "specialFirstInnermostSector" | "valueAccessor" | "smallMultiples" | "drilldown", never, SFRequiredKeys<PartitionSpec<any>, "chartType" | "specType", "animation" | "layout" | "layers" | "valueFormatter" | "valueGetter" | "fillOutside" | "radiusOutside" | "fillRectangleWidth" | "fillRectangleHeight" | "topGroove" | "percentFormatter" | "clockwiseSectors" | "maxRowCount" | "specialFirstInnermostSector" | "valueAccessor" | "smallMultiples" | "drilldown", never>>

Returns

null

Source

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


Generated using typedoc-plugin-markdown and TypeDoc