If you know the id of the chart you would like to display, you can pass in the reportId to the Chart component and it will load and display the data for that chart.
The chart id. The most usage is through a detail page built to navigate from
the dashboard - using the onClick callback to get the reportId, and
navigating to a route (say, reports/:id) where the url param is passed in as
the reportId. For a standalone table, you can find the reportId in the Quill
BI Platform and pass it in directly.When config is passed, the chart will not refetch the given report and will
instead simply render the report it was given.
A config must be passed if reportId is not present.
A list of color strings used to color the chart.For example, a pie chart would use the colors for each section and a bar
chart would use the colors for each bar.
An optional function that takes a report and theme and returns a map of keys
used in that report to the colors they should use.The color values support RGB hexcodes and CSS color literals.