Type Alias NxMeasureInfo

Layout for NxInlineMeasureDef.

type NxMeasureInfo = {
    qApprMaxGlyphCount?: number;
    qAttrDimInfo?: NxAttrDimInfo[];
    qAttrExprInfo?: NxAttrExprInfo[];
    qCalcCondMsg?: string;
    qCardinal?: number;
    qError?: NxValidationError;
    qFallbackTitle?: string;
    qIsAutoFormat?: boolean;
    qLibraryId?: string;
    qMax?: number;
    qMin?: number;
    qMiniChart?: NxMiniChart;
    qNumFormat?: FieldAttributes;
    qReverseSort?: boolean;
    qSortIndicator?: NxSortIndicatorType;
    qTrendLines?: NxTrendline[];
}
Index

Properties

qApprMaxGlyphCount?: number

Length of the longest value in the field.

qAttrDimInfo?: NxAttrDimInfo[]

List of attribute dimensions.

qAttrExprInfo?: NxAttrExprInfo[]

List of attribute expressions.

qCalcCondMsg?: string

The message displayed if calculation condition is not fulfilled.

qCardinal?: number

Number of distinct field values.

This parameter is optional. Gives information on the error.

qFallbackTitle?: string

Corresponds to the label of the measure. If the label is not defined then the measure name is used.

qIsAutoFormat?: boolean

This parameter is set to true if qNumFormat is set to U (unknown). The engine guesses the type of the field based on the field's expression.

qLibraryId?: string

Refers to a dimension stored in the library.

qMax?: number

Highest value in the range.

qMin?: number

Lowest value in the range.

qMiniChart?: NxMiniChart
qNumFormat?: FieldAttributes

Format of the field. This parameter is optional.

qReverseSort?: boolean

If set to true, it inverts the sort criteria in the field.

qSortIndicator?: NxSortIndicatorType

Sort indicator. The default value is no sorting. This parameter is optional.

One of:

  • N or NX_SORT_INDICATE_NONE
  • A or NX_SORT_INDICATE_ASC
  • D or NX_SORT_INDICATE_DESC
qTrendLines?: NxTrendline[]

Calculated trendlines