Example
Attributes
Name of the table to query
SQL expression for the values to create histogram for
Column name to group data by series
Chart configuration optionsExample:Attributes:
- color_palette:
array
Number of bins for the histogram (takes precedence over bin_width)
Width of each bin (ignored if bin_count is specified)
Format for the column values displayed in bin ranges
Array of column names to use as filters
Title to display above the histogram
Subtitle to display below the title
Info text to display in a tooltip next to the title. Can only be used with the title prop.
Show legend
Custom SQL WHERE condition to apply to the query. For date filters, use date_range instead.
Maximum number of rows to return from the query
Set the width of this component (in percent) relative to the page width