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
Target | Versions |
---|---|
.NET Standard 2.0 | 200.7 - 200.8 |
.NET | 200.7 - 200.8 |
.NET Windows | 200.7 - 200.8 |
.NET Android | 200.7 - 200.8 |
.NET iOS | 200.7 - 200.8 |
.NET Framework | 200.7 - 200.8 |
UWP | 200.7 - 200.8 |