Interface AnalyticsMeasure

Measure 字段结构会使用 Dimension 中的 dimension, members, zeroSuppression 属性

interface AnalyticsMeasure {
    caption?: string;
    dimension?: string;
    domain?: [number, number?];
    formatting?: {
        currencyCode?: string;
        decimal?: number;
        digitsInfo?: string;
        shortNumber?: boolean;
        unit?: string;
        useUnderlyingUnit?: boolean;
    };
    measure: string;
    members?: Member[];
    order?: OrderDirection;
    palette?: {
        colors?: string[];
        name?: string;
        pattern?: any;
        reverse?: boolean;
    };
}

Hierarchy

Properties

caption?: string

Caption of dimension

dimension?: string
domain?: [number, number?]
formatting?: {
    currencyCode?: string;
    decimal?: number;
    digitsInfo?: string;
    shortNumber?: boolean;
    unit?: string;
    useUnderlyingUnit?: boolean;
}

Type declaration

  • Optional currencyCode?: string
  • Optional decimal?: number
  • Optional digitsInfo?: string
  • Optional shortNumber?: boolean
  • Optional unit?: string
  • Optional useUnderlyingUnit?: boolean
measure: string
members?: Member[]

如当 Dimension = "Measures" 时可以设置 members 为 ["Gross Margin", "Discount"] 等度量字段名 也可以为 dimension 设置固定的成员

Order by

palette?: {
    colors?: string[];
    name?: string;
    pattern?: any;
    reverse?: boolean;
}

Type declaration

  • Optional colors?: string[]
  • Optional name?: string
  • Optional pattern?: any
  • Optional reverse?: boolean

Generated using TypeDoc