Table of Contents

Property ChannelGroup

Namespace
OpenEphys.EphysVisualization.Design
Assembly
OpenEphys.EphysVisualization.Design.dll

ChannelGroup

Gets or sets the function giving the group a channel takes its color from, or null, the default, for each row to take the next color of the palette. Groups are numbered as Group is. Channels sharing a group share a color, and a channel in the default group, 0, is drawn in a neutral grey.

protected Func<int, int>? ChannelGroup { get; set; }

Property Value

Func<int, int>

Remarks

Groups take their colors from a categorical palette whatever palette the rows are drawn in. Called for every channel every frame, so a function that reads settings as it goes never has to be told they changed.

Exceptions

InvalidOperationException

The visualizer is not loaded.