Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BarChartProps<T>

Type parameters

  • T

Hierarchy

Index

Properties

Optional actions

actions?: boolean

Optional color

color?: string

Optional description

description?: string

elems

elems: readonly T[]

height

height: number

iAttr

iAttr: keyof T | ((v: T) => string)

Optional iLabel

iLabel?: string

Optional orientation

orientation?: "horizontal" | "vertical"
default

vertical

Optional queries

queries?: UpSetQueries<T>

list of queries as an alternative to provide a single selection

Optional selection

selection?: UpSetSelection<T>

Optional selectionColor

selectionColor?: string

Optional theme

theme?: UpSetThemes

Optional title

title?: string

vAttr

vAttr: keyof T | ((v: T) => number)

Optional vLabel

vLabel?: string

width

width: number

Methods

Optional onClick

  • onClick(selection: null | ISetLike<T> | readonly T[]): void

Optional onHover

  • onHover(selection: null | ISetLike<T> | readonly T[]): void

Optional toElemKey

  • toElemKey(elem: T): string