Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PieChartProps<T>

Type parameters

  • T

Hierarchy

Index

Properties

Optional actions

actions?: boolean

attr

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

Optional color

color?: string

Optional description

description?: string

elems

elems: readonly T[]

height

height: number

Optional innerRadius

innerRadius?: number

Optional label

label?: string

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

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