Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NumberStatsOptions

Hierarchy

Index

Properties

center?: number

optional center for diverging histograms

coef?: number

specify the coefficient for the whiskers, use <=0 for getting min/max instead the coefficient will be multiplied by the IQR

default

1.5

eps?: number

delta epsilon to compare

default

10e-3

format?: NumberFormatter
max?: number

defines the maximum, otherwise derives it

min?: number

defines the minimum, otherwise derives it

numberOfBins?: number

fixes the number of bins

quantiles?: QuantileMethod

specify the quantile method to use

default

quantilesType7

validAndSorted?: boolean

defines that it can be assumed that the array is sorted and just contains valid numbers (which will avoid unnecessary checks and sorting)

default

false

whiskersMode?: "exact" | "nearest"

whiskers mode whether to compute the nearest element which is bigger/smaller than low/high whisker or the exact value

default

'nearest'

Methods

  • color(v: number): string
  • color function to convert a number between 0...1 to a color

    Parameters

    • v: number

    Returns string

Generated using TypeDoc