Dimension Class
A dimension that is a DataItem whose values are used to categorize data.
Declaration
export class Dimension extends DataItem implements IDimensionDefinition
Implements
IDimensionDefinition
See Also
constructor
Initializes a new instance of the Dimension
class.
Declaration
constructor(
dataItemJSON?: any,
serializer?: DevExpress.Analytics.Utils.IModelSerializer
)
Parameters
Name |
Type |
dataItemJSON |
any |
serializer |
IModelSerializer |
Properties
coloringMode Property
Specifies coloring mode for the current dimension.
Declaration
coloringMode: ko.Observable<DevExpress.Dashboard.Model.ColoringMode>
Property Value
dateTimeGroupInterval Property
Declaration
dateTimeGroupInterval: ko.Observable<DevExpress.Dashboard.Model.DateTimeGroupInterval>
Property Value
groupChildValues Property
Declaration
groupChildValues: ko.Observable<boolean>
Property Value
groupIndex Property
Declaration
groupIndex: ko.Observable<number>
Property Value
isDiscreteNumericScale Property
Declaration
isDiscreteNumericScale: ko.Observable<boolean>
Property Value
realSortMode Property
Declaration
realSortMode: ko.Computed<string>
Property Value
sortMeasure Property
Declaration
sortMeasure: ko.Observable<string>
Property Value
sortMode Property
Declaration
sortMode: ko.Observable<DevExpress.Dashboard.Model.DimensionSortMode>
Property Value
sortOrder Property
Specifies the sort order for dimension values.
Declaration
sortOrder: ko.Observable<DevExpress.Dashboard.Model.DimensionSortOrder>
Property Value
textGroupInterval Property
Declaration
textGroupInterval: ko.Observable<DevExpress.Dashboard.Model.TextGroupInterval>
Property Value
topNOptionsCount Property
Declaration
topNOptionsCount: ko.Observable<number>
Property Value
topNOptionsEnabled Property
Declaration
topNOptionsEnabled: ko.Observable<boolean>
Property Value
topNOptionsMeasureName Property
Declaration
topNOptionsMeasureName: ko.Observable<string>
Property Value
topNOptionsMode Property
Declaration
topNOptionsMode: ko.Observable<DevExpress.Dashboard.Model.DimensionTopNMode>
Property Value
topNOptionsShowOthers Property
Declaration
topNOptionsShowOthers: ko.Observable<boolean>
Property Value
Methods
getInfo Method
Declaration
getInfo(): DevExpress.Analytics.Utils.ISerializationInfoArray
Returns
grabFrom(dataItem) Method
Declaration
grabFrom(
dataItem: Dimension
): void
Parameters
Name |
Type |
dataItem |
Dimension |
isDefinitionEquals(dataItem) Method
Declaration
isDefinitionEquals(
dataItem: DevExpress.Dashboard.Model.DataItem
): boolean
Parameters
Returns