Class pvc.data.Atom
Constructor Attributes | Constructor Name and Description |
---|---|
The Atom class represents the value of a complex under a specific dimension.
|
Field Attributes | Field Name and Description |
---|---|
Gets the unique, sequential identifier of the atom.
|
|
Gets a value that indicates if the atom was generated by an interpolation or trending operation
and is not part of the data source.
|
|
Gets the key of the atom.
|
|
Gets the formatted value of the atom.
|
|
Gets the label of a numeric atom formatted as a percentage.
|
|
Gets the raw value from which #value was derived.
|
|
Gets the typed value of the atom.
|
Class Detail
pvc.data.Atom
The Atom class represents the value of a complex under a specific dimension.
Field Detail
{number}
id
Gets the unique, sequential identifier of the atom.
{boolean}
isVirtual
Gets a value that indicates if the atom was generated by an interpolation or trending operation
and is not part of the data source.
{string}
key
Gets the key of the atom.
The key is a unique string representation of a value in a dimension and is used to index atoms in dictionaries.
The key is obtained by application of pvc.options.DimensionType#key. The default key function is the standard JavaScript String function.
{string}
label
Gets the formatted value of the atom.
When not provided directly in the data source, by using the {v: value, f: "formattedValue"} cell syntax, it is obtained by application of pvc.options.DimensionType#formatter.
{string}
labelPercent
Gets the label of a numeric atom formatted as a percentage.
{any}
rawValue
Gets the raw value from which #value was derived.
When value is the result of a conversion from the value present in the data source, by application of pvc.options.DimensionType#converter, rawValue contains the original value. Otherwise, it is equal to value.
{any}
value
Gets the typed value of the atom.