Skip to content

TypeScript SDK Reference / SignalVisualizerConfig

Interface: SignalVisualizerConfig

Configuration options for the SignalVisualizer.

Properties

backgroundColor?

optional backgroundColor: string

Background color of the canvas.


debug?

optional debug: boolean

Enable debug logging.


gridColor?

optional gridColor: string

Color of the grid lines.


height?

optional height: number

Height of the visualization canvas in pixels.


lineColor?

optional lineColor: string

Color of the signal line.


maxPoints?

optional maxPoints: number

Maximum number of data points to display.


visualizationType?

optional visualizationType: "PPG" | "ECG"

Type of visualization: 'PPG' for photoplethysmography signal or 'ECG' for electrocardiogram simulation.


width?

optional width: number

Width of the visualization canvas in pixels.