@graphty/graphty-element / session / BindingPreviewBin
Interface: BindingPreviewBin ​
Defined in: graphty-element/src/session/styles/encoding.ts:2234
One bin of a BindingPreview: a stretch of the scale, or one category.
Since ​
3.26.0
Properties ​
count ​
readonlycount:number
Defined in: graphty-element/src/session/styles/encoding.ts:2242
How many elements fall in it.
from ​
readonlyfrom:number|null
Defined in: graphty-element/src/session/styles/encoding.ts:2236
The lower edge, in the data's units; null for a category.
paints ​
readonlypaints:EncodedValue|null
Defined in: graphty-element/src/session/styles/encoding.ts:2247
What the binding paints there: at the middle of the stretch, or for the category. Null when it paints nothing (a hidden value).
to ​
readonlyto:number|null
Defined in: graphty-element/src/session/styles/encoding.ts:2238
The upper edge, in the data's units; null for a category.
value? ​
readonlyoptionalvalue?:unknown
Defined in: graphty-element/src/session/styles/encoding.ts:2240
The category, as the data spells it; absent for a stretch of a numeric scale.