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


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 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also