Interface: CosmographTimelineConfigInterface
Extended by
Properties
accessor?
optionalaccessor:string
Data column key to access time values for the CosmographTimeline. 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 visualization. Can be used if you donāt want histogram range to be automatically calculated from data extent.
Default
undefineduseLinksData?
optionaluseLinksData:boolean
Defines type of filter 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 timeline. If true, can impact performance.
Default
trueonSelection()?
optionalonSelection: (selection,isManuallySelected?) =>void
Callback for the range selection. Provides current selection of CosmographTimeline.
Parameters
| Parameter | Type | Description | 
|---|---|---|
selection | undefined | [Date, Date] | [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