App.tsx
Make sure
QuillProvider is a parent of the Dashboard component.Examples
Props
string
required
The name of the dashboard you created in the Quill BI Platform.
(props: QuillReportProps) => JSX.Element
A component that wraps a report for ‘metric’ chart types.
(props: QuillReportProps) => JSX.Element
A component that wraps a report for non-metric, non-table chart types.
(props: QuillReportProps) => JSX.Element
A component that wraps a report for ‘table’ chart types.
(props: SelectComponentProps) => JSX.Element
A select component.
(props: DateRangePickerComponentProps) => JSX.Element
A date range picker component.
(props: DashboardSectionComponentProps) => JSX.Element
A component that wraps each dashboard section.Each dashboard is grouped into three sections: metrics, charts, and tables
(in that order). Some sections may be empty, in which case they are omitted.
(props: DashboardSectionContainerComponentProps) => JSX.Element
A component that wraps all dashboard sections.
(props: FilterContainerComponentProps) => JSX.Element
A component that wraps the row of dashboard filters.
() => JSX.Element
A fallback component displayed when an active dashboard has no reports.
(report: QuillReport) => void
Callback function that fires when a report is clicked. A common use
case is navigating to a new page based on the report’s id. A dashboard is
composed of a list of reports that could be metrics, charts, or tables.
See the API Reference for a
QuillReport here.(isLoading: boolean) => void
A callback that is fired when the loading status of the dashboard changes.
boolean
default:false
Whether to hide dashboard filters.
boolean
default:false
Whether the date range filters on the dashboard are hidden.
boolean
default:false
Whether to hide the xAxis for all charts on this dashboard.
boolean
default:false
Whether to hide the yAxis for all charts on this dashboard.
boolean
default:false
Whether to hide the cartesian grid for all charts on this dashboard.
'solid' | 'dashed'
default:"solid"
The line style for comparison ranges on all line charts on this dashboard.
string
Applies the following classes to the ReportBuilder.This container is the parent of all the filtering buttons as well as any
dashboard sections. This can be useful for TailwindCSS-style classname
strings.
React.CSSProperties
The CSS styles that wrap the dashboard container.This container is the parent of all the filtering buttons as well as any
dashboard sections.
React.CSSProperties
The styles for the chart container.
QuillReport
The fullQuillReport schema is documented on the Types reference page.

