Documentation

@kanunilabs/pivotgrid-enterprise


@kanunilabs/pivotgrid-enterprise / domainOf

Function: domainOf()

domainOf(model, indices): object

Value domain of the given series, zero always included.

Zero is the reader's anchor: a bar chart windowed to [80..100] makes a 2% difference look like a landslide. Lines and areas inherit the rule so that switching column -> line does not rescale the picture.

Parameters

model

PivotChartModel

indices

readonly number[]

Returns

object

max

max: number

min

min: number