InteractiveDashboard( props: { drillThroughQuestionHeight?: Height<string | number>; drillThroughQuestionProps?: DrillThroughQuestionProps; plugins?: MetabasePluginsConfig; renderDrillThroughQuestion?: () => ReactNode; } & { dashboardId: SdkDashboardId; hiddenParameters?: string[]; initialParameters?: ParameterValues; withCardTitle?: boolean; withDownloads?: boolean; withTitle?: boolean; } & { className?: string; style?: CSSProperties } & { onLoad?: (dashboard: null | MetabaseDashboard) => void; onLoadWithoutCards?: (dashboard: null | MetabaseDashboard) => void; onVisualizationChange?: ( visualization: | "object" | "table" | "bar" | "line" | "pie" | "scalar" | "row" | "area" | "combo" | "pivot" | "smartscalar" | "gauge" | "progress" | "funnel" | "map" | "scatter" | "waterfall" | "sankey" | "list", ) => void; } & { dataPickerProps?: Pick<SdkQuestionProps, "entityTypes"> } & {},): Element 参数
- props: {
drillThroughQuestionHeight?: Height<string | number>;
drillThroughQuestionProps?: DrillThroughQuestionProps;
plugins?: MetabasePluginsConfig;
renderDrillThroughQuestion?: () => ReactNode;
} & {
dashboardId: SdkDashboardId;
hiddenParameters?: string[];
initialParameters?: ParameterValues;
withCardTitle?: boolean;
withDownloads?: boolean;
withTitle?: boolean;
} & { className?: string; style?: CSSProperties } & {
onLoad?: (dashboard: null | MetabaseDashboard) => void;
onLoadWithoutCards?: (dashboard: null | MetabaseDashboard) => void;
onVisualizationChange?: (
visualization:
| "object"
| "table"
| "bar"
| "line"
| "pie"
| "scalar"
| "row"
| "area"
| "combo"
| "pivot"
| "smartscalar"
| "gauge"
| "progress"
| "funnel"
| "map"
| "scatter"
| "waterfall"
| "sankey"
| "list",
) => void;
} & { dataPickerProps?: Pick<SdkQuestionProps, "entityTypes"> } & {}OptionaldrillThroughQuestionHeight?: Height<string | number>
OptionalrenderDrillThroughQuestion?: () => ReactNode
可选hiddenParameters?: string[]
可选withCardTitle?: boolean
可选withDownloads?: boolean
可选withTitle?: boolean
可选onLoad?: (dashboard: null | MetabaseDashboard) => void
可选onLoadWithoutCards?: (dashboard: null | MetabaseDashboard) => void
可选onVisualizationChange?: (
visualization:
| "object"
| "table"
| "bar"
| "line"
| "pie"
| "scalar"
| "row"
| "area"
| "combo"
| "pivot"
| "smartscalar"
| "gauge"
| "progress"
| "funnel"
| "map"
| "scatter"
| "waterfall"
| "sankey"
| "list",
) => void
© .
This site is unofficial and not affiliated with Metabase, Inc.
一个仪表板组件,具有下钻、点击行为,以及查看和点击问题的能力。