src/line/highlight-command.ts
The HighlightCommand interface allows for dynamically highlighting sections of a line in the LinePlot.
Properties |
action |
action:
|
Type : HighlightAction
|
Defined in src/line/highlight-command.ts:18
|
Add, remove, or clear (all) for that signal ID |
highlight |
highlight:
|
Type : IHighlight
|
Defined in src/line/highlight-command.ts:20
|
Description of the highlight (only required if adding) |
signalId |
signalId:
|
Type : string
|
Defined in src/line/highlight-command.ts:16
|
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;
}