Class: BaseVisualization

BaseVisualization()

Base class for all VSOM visualizations Provides common functionality and lifecycle methods

Constructor

new BaseVisualization()

Source:

Classes

BaseVisualization

Methods

destroy()

Clean up the visualization

.

Clean up the visualization

Source:

handleResize()

Handle window resize events

.

Handle window resize events

Source:

init(data)

Initialize the visualization

.

Initialize the visualization

Parameters:
Name Type Description
data Object

Initial data for the visualization

Source:

(protected) onResize()

Handle resize events (to be implemented by subclasses)

.

Handle resize events (to be implemented by subclasses)

Source:

update(data)

Update the visualization with new data

.

Update the visualization with new data

Parameters:
Name Type Description
data Object

New data to visualize

Source:

withPerformanceLogging(name, fn) → {*}

Log performance metrics

.

Log performance metrics

Parameters:
Name Type Description
name string

Name of the operation

fn function

Function to measure

Source:
Returns:

The result of the function

Type
*