Show / Hide Table of Contents

Property ChartColors

ChartColors

Gets a mutable list of colors to be used in charts, where each "color" sequentially corresponds to a field in the FieldNames property.

Declaration
public IList<Color> ChartColors { get; }
Property Value
Type Description
System.Collections.Generic.IList<System.Drawing.Color>

A mutable list of colors to be used in charts, where each "color" sequentially corresponds to a field in the FieldNames property.

Remarks

When the popup media type is LineChart, the first color in the list will drive the line color and other colors are ignored. If the color list is longer than FieldNames, additional colors are ignored. If the color list is shorter than FieldNames, a default color ramp will be applied when generating the chart (e.g. by using GenerateChartAsync(ChartImageParameters)).

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.7 - 200.8
.NET200.7 - 200.8
.NET Windows200.7 - 200.8
.NET Android200.7 - 200.8
.NET iOS200.7 - 200.8
.NET Framework200.7 - 200.8
UWP200.7 - 200.8
In This Article
Back to top Copyright © 2022 Esri.