combit List & Label 27 - .NET Help
combit.Reporting.Dom Namespace / PropertyChartColorArray Class
Members Example


In This Topic
    PropertyChartColorArray Class
    In This Topic
    Determines the color order of chart elements for which no "conditional color" is available. To choose a color, access the corresponding item directly by the index (see example).
    Object Model
    PropertyChartColorArray ClassPropertyChartColor Class
    Syntax
    'Declaration
     
    
    Public Class PropertyChartColorArray 
       Inherits combit.Reporting.Dom.DomArrayBase(Of PropertyChartColor)
    public class PropertyChartColorArray : combit.Reporting.Dom.DomArrayBase<PropertyChartColor> 
    public ref class PropertyChartColorArray : public combit.Reporting.Dom.DomArrayBase<PropertyChartColor> 
    Example
    SubItemChart chart = new SubItemChart(LlChartType.Bar3D, container.SubItems);
    
    // color for the first bar
    chart.Definition.Colors[0].Color = Color.Red;
    
    // color for the second bar
    chart.Definition.Colors[1].Color = Color.Blue;
    Inheritance Hierarchy

    System.Object
       combit.Reporting.Dom.DomItem
          combit.Reporting.Dom.DomArrayBase<T>
             combit.Reporting.Dom.PropertyChartColorArray

    Requirements

    Platforms: Windows 8.1, Windows 10 (Version 20H2 - 21H2), Windows 11 (21H2), Windows Server 2012 - 2022

    See Also