CartesianChart.kind
property · packages/mixins-ui/src/chart.ts:183
readonly kind: 'bar' | 'line' | 'area'Mixins / foldkit-mixins-ui
interface · packages/mixins-ui/src/chart.ts:182
interface CartesianChart<ParentMessage> extends ChartCommon<ParentMessage> {
readonly kind: 'bar' | 'line' | 'area'
readonly categories: ReadonlyArray<string>
readonly series: ReadonlyArray<Series>
readonly categoryLabel?: string | undefined
}Bars side by side per category, a line, or a line with the area under it filled.
CartesianChart.kindproperty · packages/mixins-ui/src/chart.ts:183
readonly kind: 'bar' | 'line' | 'area'CartesianChart.categoriesproperty · packages/mixins-ui/src/chart.ts:185
readonly categories: ReadonlyArray<string>The categories along the bottom, such as months.
CartesianChart.seriesproperty · packages/mixins-ui/src/chart.ts:187
readonly series: ReadonlyArray<Series>Up to five series, each with a value per category.
CartesianChart.categoryLabelproperty · packages/mixins-ui/src/chart.ts:189
readonly categoryLabel?: string | undefinedHeads the categories' column in the table; default Category.