public class KeyedValueDataItem extends DataItem
KeyedValueDataItem A KeyedValueDataItem extends the base DataItem class and is used for PieCharts and RingCharts. 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 KeyedValueDataItem describes a dataset item comprising of a key and value.
The data for these charts will be in the format of:
| Modifier and Type | Field and Description |
|---|---|
BBjString | Key!The key of the data item |
Number | Value!The value of the data item |
| Constructor and Description |
|---|
KeyedValueDataItem(BBjString p_key$, Number p_value!)Contructs a KeyedValueDataItem |