Interface: CosmographHistogramConfigInterface
Extended by
Properties
accessor?
optionalaccessor:string
Data column key to access numeric values for the CosmographHistogram. Make sure it’s included in pointIncludeColumns or linkIncludeColumns if you’re not using this column as other point or link accessor.
Default
undefinedcustomExtent?
optionalcustomExtent: [number,number]
Minimum and maximum extent for the CosmographHistogram visualisation. Can be used if you don’t want histogram range to be automatically calculated from data extent.
Default
undefineduseLinksData?
optionaluseLinksData:boolean
Defines type of Cosmograph Crossfilter to use. true for links, false for points. Can only be set once during initialization.
Default
falsehighlightSelectedData?
optionalhighlightSelectedData:boolean
Whether to highlight currently selected data on histogram. If true, can impact performance.
Default
trueonSelection()?
optionalonSelection: (selection,isManuallySelected?) =>void
Callback for the range selection. Provides current selection of CosmographHistogram.
Parameters
| Parameter | Type | Description | 
|---|---|---|
selection | undefined | [number, number] | The current selection range. If no selection is made, it will be undefined. | 
isManuallySelected? | boolean | Indicates whether the selection was made manually by the user. | 
Returns
void
preserveSelectionOnUnmount?
optionalpreserveSelectionOnUnmount:boolean
Preserves the selection on unmount.
Default
falseid?
optionalid:string
Custom ID for the filtering client. If not provided, uses constructor name. Use this to maintain stable client connections across component remounts.
Default
undefined