Skip to main content

SmallMultiples Spec

Defines dimesions of faceted charts.

Compatible Specs

SmallMultiples goes hand-in-hand with GroupBy spec to define a faceted chart.

Supported chart types include:

Overrides

  • chartType -> ChartType.Global
  • specType -> SpecType.SmallMultiples

Props

All props can be found via GroupByProps type.

Spec Props

Inherits Spec props

id

  • From Spec
  • Default: '__global__small_multiples___'

splitHorizontally

  • Type: splitHorizontally?: string

Identifies the <GroupBy id="foo"> referenced by splitHorizontally="foo", specifying horizontal tiling.

splitVertically

  • Type: splitVertically?: string

Identifies the <GroupBy id="bar"> referenced by splitVertically="bar", specifying vertical tiling.

splitZigzag

  • Type: splitZigzag?: string

Identifies the <GroupBy id="baz"> referenced by splitVertically="baz", specifying space-filling tiling in a Z pattern.

style

  • Type: style?: Partial<SmallMultiplesStyle>

Specifies styling and layout properties of the tiling, such as paddings between and outside panels.