TypeScript SDK Reference / SignalVisualizerConfig
Interface: SignalVisualizerConfig
Configuration options for the SignalVisualizer.
Properties
backgroundColor?
optionalbackgroundColor:string
Background color of the canvas.
debug?
optionaldebug:boolean
Enable debug logging.
gridColor?
optionalgridColor:string
Color of the grid lines.
height?
optionalheight:number
Height of the visualization canvas in pixels.
lineColor?
optionallineColor:string
Color of the signal line.
maxPoints?
optionalmaxPoints:number
Maximum number of data points to display.
visualizationType?
optionalvisualizationType:"PPG"|"ECG"
Type of visualization: 'PPG' for photoplethysmography signal or 'ECG' for electrocardiogram simulation.
width?
optionalwidth:number
Width of the visualization canvas in pixels.