Interface ChartDimension

interface ChartDimension {
    caption?: string;
    chartOptions?: ChartOptions;
    dimension?: string;
    displayBehaviour?: DisplayBehaviour;
    displayHierarchy?: boolean;
    domain?: [number, number?];
    exclude?: boolean;
    hierarchy?: string;
    label?: string;
    level?: string;
    memberCaption?: string;
    members?: Member[];
    name?: string;
    order?: OrderDirection;
    palette?: {
        colors?: string[];
        name?: string;
        pattern?: any;
        reverse?: boolean;
    };
    parameter?: string;
    properties?: string[];
    role?: ChartDimensionRoleType;
    unbookedData?: boolean;
    zeroSuppression?: boolean;
}

Hierarchy

Properties

caption?: string

Caption of dimension

chartOptions?: ChartOptions

针对单个 Dimension 的图形属性

dimension?: string
displayBehaviour?: DisplayBehaviour

显示为...

displayHierarchy?: boolean

显示维度为 Hierarchy

domain?: [number, number?]
exclude?: boolean

排除 members 中的成员

hierarchy?: string
label?: string

displayBehaviour 中所要显示文本字段

Deprecated

use caption

level?: string
memberCaption?: string

Caption field for dimension

members?: Member[]

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

name?: string

对 Dimension 信息的分类命名 (有些情况下需要区分相同的 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
parameter?: string

参数名称, 指向 EntityType.parameters

properties?: string[]

维度属性字段们

unbookedData?: boolean

是否显示无值数据, 在 MDX 中为 [#] 的成员

zeroSuppression?: boolean

清除度量全部为 NULL 的成员

Generated using TypeDoc