Mixins / foldkit-mixins-ui

CartesianData

interface · packages/mixins-ui/src/chart/cartesian.ts:16

interface CartesianData {
  readonly categories: ReadonlyArray<string>
  readonly series: ReadonlyArray<Series>
  readonly categoryLabel?: string | undefined
}

What the kinds over a value axis read: the categories along the bottom and the series.

Members

CartesianData.categories

property · packages/mixins-ui/src/chart/cartesian.ts:18

readonly categories: ReadonlyArray<string>

The categories along the bottom, such as months.

CartesianData.series

property · packages/mixins-ui/src/chart/cartesian.ts:20

readonly series: ReadonlyArray<Series>

Up to five series, each with a value per category.

CartesianData.categoryLabel

property · packages/mixins-ui/src/chart/cartesian.ts:22

readonly categoryLabel?: string | undefined

Heads the categories' column in the table; default Category.