Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ScatterplotProps<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

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

xAttr

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

Optional xLabel

xLabel?: string

yAttr

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

Optional yLabel

yLabel?: string

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