嵌入式分析 SDK API
    正在准备搜索索引...

    接口 StaticQuestionProps

    interface StaticQuestionProps {
        className?: string;
        height?: Height<string | number>;
        initialSqlParameters?: SqlParameterValues;
        questionId: null | SdkQuestionId;
        style?: CSSProperties;
        title?: SdkQuestionTitleProps;
        width?: Width<string | number>;
        withChartTypeSelector?: boolean;
        withDownloads?: boolean;
    }
    索引

    属性

    className?: string

    要添加到根元素的自定义类名。

    height?: Height<string | number>

    一个数字或字符串,指定CSS大小值,用于指定组件的高度

    initialSqlParameters?: SqlParameterValues

    SQL参数的初始值。

    questionId: null | SdkQuestionId

    要添加到根元素的自定义样式对象。

    确定是否显示问题标题,并允许显示自定义标题而不是默认问题标题。默认显示。仅适用于使用默认布局的交互式问题。

    width?: Width<string | number>

    一个数字或字符串,指定CSS大小值,用于指定组件的宽度

    withChartTypeSelector?: boolean

    确定是否显示图表类型选择器和相应的设置按钮。仅在使用默认布局时相关。

    withDownloads?: boolean

    启用在交互式问题中下载结果的功能。

    © . This site is unofficial and not affiliated with Metabase, Inc.