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

    接口 StaticQuestionProps

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

    属性

    className?: string

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

    height?: Height<string | number>

    指定组件高度的 CSS 大小值(数字或字符串)。

    initialSqlParameters?: SqlParameterValues

    SQL 参数的初始值。

    questionId: null | SdkQuestionId

    问题的 ID。
    这可以是:

    • 访问问题链接时的数字 ID,例如 `http://localhost:3000/question/1-my-question`,其中 ID 为 `1`
    • 问题对象的 `entity_id` 键。您可以在查看问题时在信息面板中找到问题的实体 ID
    • `new` 用于显示笔记本编辑器以创建新问题。`isSaveEnabled` 必须为 `true` 才能允许保存问题

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

    width?: Width<string | number>

    指定组件宽度的 CSS 大小值(数字或字符串)。

    withChartTypeSelector?: boolean
    © . All rights reserved.