ColorsNames: Array;
The Items property determines how the element names are mapped with legend element colors.
Use JSON or the setItems method to set the property value, and the getItems method to get the property value
An array element is a JSON object with the following field: Text - element name, Color - element color.
The example of use is given on the page with description of the IntervalsLegend.TextHorizontalAlignment property.
See also: