Mode: PP.Ui.SpectrumLegendMode;
The Mode property determines display mode for legend items.
Use JSON or the setMode method to set the property value, and the getMode method to get the property value.
The example of property use is given in the Spectrum Legend Settings section in the page of SpectrumLegend constructor.
See also: