@graphty/graphty-element / session / NumericColumnView
Interface: NumericColumnView ​
Defined in: graphty-element/src/session/results/types.ts:627
One numeric field of a result, read without materialising an object per element.
A histogram, a colour ramp's domain and a summary all walk the same column, and a graph big enough to be interesting cannot afford a row object per node for each of them.
Properties ​
length ​
readonlylength:number
Defined in: graphty-element/src/session/results/types.ts:629
How many entries the column has.
max ​
readonlymax:number
Defined in: graphty-element/src/session/results/types.ts:639
The highest value in the column.
mean ​
readonlymean:number
Defined in: graphty-element/src/session/results/types.ts:641
The average across the column.
median ​
readonlymedian:number
Defined in: graphty-element/src/session/results/types.ts:643
The middle value once the column is ordered.
min ​
readonlymin:number
Defined in: graphty-element/src/session/results/types.ts:637
The lowest value in the column.
Methods ​
get() ​
get(
index):number
Defined in: graphty-element/src/session/results/types.ts:635
One entry, by position.
Parameters ​
index ​
number
The position, from 0 to length - 1.
Returns ​
number
The value, or NaN where the element carries none.