chartColors property

List<Color> get chartColors

An array of colors to be used in charts, where each color sequentially corresponds to a field in the PopupMediaValue.fieldNames property. When the popup media type is PopupMediaType.lineChart, the first color in the array will drive the line color and other colors are ignored. If the color array is longer than PopupMediaValue.fieldNames, additional colors are ignored. If the color array is shorter than PopupMediaValue.fieldNames, a default color ramp will be applied when generating the chart (e.g. by using PopupMedia.generateChart).