OptionalautoOptionalclassA custom class name to be added to the root element.
OptionaldashboardThe ID of the dashboard.
This is either:
http://localhost:3000/dashboard/1-my-dashboard where the ID is 1
entity_id key of the dashboard object when using the API directly or using the SDK Collection Browser to return dataOptionaldataAdditional props to pass to the query builder rendered by InteractiveQuestion when creating a new dashboard question.
OptionalhiddenA list of parameters to hide.
OptionalinitialInitial values for query parameters, slug-keyed. Applied once on mount; user widget edits afterwards are not reflected back to the host.
For each parameter:
null: strictly cleared, ignoring the parameter's default.
undefined): falls back to the parameter's default (or null if it has no default).
OptionalonCallback that is called when the dashboard is loaded.
OptionalonCallback that is called when the dashboard is loaded without cards.
OptionalonFires on parameters change. The payload's source distinguishes the initial state on load ('initial-state'), user edits in the UI ('manual-change'), and auto-updates ('auto-change').
OptionalonA callback function that triggers when a question is opened from a dashboard card or when the user changes the visualization type of a question.
the new visualization type
OptionalparametersControlled parameter values, slug-keyed. On every render, this object replaces the dashboard's parameter values:
null is cleared, even if it has a default.
undefined) uses its default (or null if it has no default).
OptionalpluginsAdditional mapper function to override or add drill-down menu. See the implementing custom actions section for more details.
OptionalstyleA custom style object to be added to the root element.
OptionaltokenA valid JWT token for the guest embed.
OptionalwithWhether the dashboard cards should display a title.
OptionalwithWhether to hide the download button.
OptionalwithWhether to show the subscriptions button.
OptionalwithWhether the dashboard should display a title.
The interval between auto refreshes on the dashboard, in seconds.