ChartColorMapping
public struct ChartColorMappingA category key mapped to a color, as in .chartForegroundStyleScale(["Key": color]).
Fields
Section titled “Fields”
public string KeyReturns
System.String
public Color ColorReturns
UnityEngine.Color
Constructors
Section titled “Constructors”
ChartColorMapping(string, Color)
Section titled “ChartColorMapping(string, Color)”public ChartColorMapping(string key, Color color)Maps a series or category key to the color used for its marks.
Parameters
| Name | Type |
|---|---|
key |
System.String |
color |
UnityEngine.Color |