Histogram
TheHistogram component automatically bins continuous data and displays the frequency distribution, making it ideal for analyzing data distributions and identifying patterns.
Props
Data Props
Query result or array of objects containing the data to visualize
Column name containing the continuous values to bin and display
Formatting Props
Format string for x-axis values (bin labels)
Bar Style Props
Fill color for histogram bars (hex, rgb, or theme color name)
Opacity of bar fill (0-1)
Chart Layout Props
Chart title displayed at the top
Chart subtitle displayed below the title
Whether to show the legend
Height of the chart area in pixels
Axis Props
Title for x-axis. Use
true to use column nameTitle for y-axis (typically “Frequency” or “Count”)
Show vertical gridlines
Show horizontal gridlines
Show labels on x-axis
Show labels on y-axis
Show x-axis baseline
Show y-axis baseline
Show tick marks on x-axis
Show tick marks on y-axis
Axis Scale Props
Minimum value for y-axis
Maximum value for y-axis
Color Props
Color palette name or array of colors
Behavior Props
Connect charts for synchronized interactions
Advanced Props
Custom ECharts configuration object
Custom series configuration
Print ECharts config to console
Renderer type: ‘canvas’ | ‘svg’
Enable data download
Enable image download
Empty data behavior: ‘pass’ | ‘warn’ | ‘error’
Custom empty data message
Left padding for chart area
Right padding for chart area