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. Channels sharing a group share a color, and a channel in a negative group, which is none, 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, chosen to tell groups apart, whatever palette the rows are drawn in. Without one, the colors follow the rows, so that neighboring rows differ whichever channels Order puts side by side. 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.