SaturationColorFrame

The SaturationColorFrame object contains a continuous color frame that returns varying saturations of the specified color. To create a SaturationColorFrame object, call the SaturationColorFrame constructor.

var frame = new SaturationColorFrame('Quantity');

You can pass the name of a field (e.g., ‘Quantity’) to the constructor, or specify this later using the inherited VisualFrame.setField(field) property. You can also assign a ColorFrame using the bindingInfo.colorFrame property in onRefresh script.

SaturationColorFrame provides the special SaturationColorFrame.setColor(value) method.