'Declaration Public ReadOnly Property ColorModel As ColorAppearance
public ColorAppearance ColorModel {get;}
'set the transparency of the colors UltraChart1.ColorModel.AlphaLevel = 125 'for linear models set the beginiing and end color, colors for each item will be a color between the beginning and end and approach the end color UltraChart1.ColorModel.ColorBegin = Color.Yellow UltraChart1.ColorModel.ColorEnd = Color.Red 'when setting the colormodel to custom you must set the array of colors to use UltraChart1.ColorModel.CustomPalette = New Color() {Color.Red, Color.Black, Color.Orange} 'turn on grayscale UltraChart1.ColorModel.Grayscale = True 'set the ColorModel Modlestyle UltraChart1.ColorModel.ModelStyle = Infragistics.UltraChart.Shared.Styles.ColorModels.CustomLinear 'set the Scaling, wheter the shades increase, decrease or , stay the same or oscillate UltraChart1.ColorModel.Scaling = Infragistics.UltraChart.Shared.Styles.ColorScaling.Increasing
// set the transparency of the colors UltraChart1.ColorModel.AlphaLevel = 125; // for linear models set the beginiing and end color, colors for each item will be a color between the beginning and end and approach the end color UltraChart1.ColorModel.ColorBegin = Color.Yellow; UltraChart1.ColorModel.ColorEnd = Color.Red; // when setting the colormodel to custom you must set the array of colors to use UltraChart1.ColorModel.CustomPalette = new Color[] {Color.Red, Color.Black, Color.Orange}; // turn on grayscale UltraChart1.ColorModel.Grayscale = true // set the ColorModel Modlestyle UltraChart1.ColorModel.ModelStyle = Infragistics.UltraChart.Shared.Styles.ColorModels.CustomLinear; // set the Scaling, wheter the shades increase, decrease or , stay the same or oscillate UltraChart1.ColorModel.Scaling = Infragistics.UltraChart.Shared.Styles.ColorScaling.Increasing;
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2