File

src/line/highlight-command.ts

Description

The HighlightCommand interface allows for dynamically highlighting sections of a line in the LinePlot.

Index

Properties

Properties

action
action: HighlightAction
Type : HighlightAction

Add, remove, or clear (all) for that signal ID

highlight
highlight: IHighlight
Type : IHighlight

Description of the highlight (only required if adding)

signalId
signalId: string
Type : string

The unique ID for the signal that was pushed to the plot

import { IHighlight } from 'sigplot-ts';

import { HighlightAction } from './highlight-action.enum';

/**
 * The HighlightCommand interface allows for dynamically highlighting sections 
 * of a line in the LinePlot.
 */
export interface HighlightCommand {
    /** The unique ID for the signal that was pushed to the plot */
    signalId?:  string;
    /** Add, remove, or clear (all) for that signal ID */
    action?:    HighlightAction;
    /** Description of the highlight (only required if adding) */
    highlight?: IHighlight;
}

results matching ""

    No results matching ""