# Class: ChartCategory

## tibco.objectapi.ec.base.ChartCategory

#### new ChartCategory()

How to categorise this chart. Categories are how the data is split up to build the returned dataset. Typically the categories can be thought of as the wedges of a Pie Chart, or the columns of a Bar Chart. It consists of 2 components: - Attribute. The attribute to categorise on - Type. How to categorise the data. Currently only COUNT is supported. Constructs a new ChartCategory.

The following features are supported:

- `Attribute`
- `Type`

### Members

#### attribute :string

The attribute to categorise the data using This property holds the value of the 'Attribute' attribute.

##### Type:

- string

#### type :tibco.objectapi.ec.base.ChartCategoryType

This property holds the value of the 'Type' attribute.

##### Type:

- tibco.objectapi.ec.base.ChartCategoryType