JavaScript & React libraryAPI

Interface: CosmographBarsConfigInterface

Extended by

Properties

useLinksData?

optional useLinksData: boolean

Defines type of Cosmograph Crossfilter to use. true for links, false for points. Can only be set once during initialization.

Default

false

accessor?

optional accessor: string

Data column key to access time values for the CosmographBars.

Default

undefined

selectOnClick?

optional selectOnClick: boolean

Enables or disables selecting points with bar value on graph by clicking.

Default

true

highlightSelectedData?

optional highlightSelectedData: boolean

Whether to highlight currently selected data on bars. If true, can impact performance.

Default

true

preserveSelectionOnUnmount?

optional preserveSelectionOnUnmount: boolean

Preserves the selection on unmount.

Default

false

id?

optional id: 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