public class CategoryDataItem extends DataItem
CategoryDataItem A CategoryDataItem extends the base DataItem class and is used for various charts including BarCharts, LineCharts, and AreaCharts. It is used as a return value from method calls that retrieve data from a chart given a location, which is what happens by default when the user left-clicks on a chart data entity.
A CategoryDataItem describes a dataset with one or more series and values associated with categories.
The data for these charts will be in the format of:
You can chart multiple categories by specifying unique values for the row keys and column keys. When the data is plotted
in a bar chart, for example, the parameters are used as follows:
| Modifier and Type | Field and Description |
|---|---|
BBjString | ColKey!The column key of the data item |
BBjString | RowKey!The row key of the data item |
Number | Value!The value of the data item |
| Constructor and Description |
|---|
CategoryDataItem(BBjString p_rowKey$, BBjString p_colKey$, Number p_value!)Contructs a CategoryDataItem |