BoxPlot
TheBoxPlot component visualizes statistical distributions using box-and-whisker diagrams, showing the median, quartiles, and outliers. It’s ideal for comparing distributions across categories.
Props
Data Props
Query result or array of objects containing the data to visualize
Column name for category labels (x-axis)
Column name containing minimum values (lower whisker)
Column name containing lower quartile (Q1) values
Column name containing median values
Column name containing upper quartile (Q3) values
Column name containing maximum values (upper whisker)
Column name for confidence interval data
Style Props
Color for the box plot (hex, rgb, or theme color name)
Formatting Props
Format string for x-axis (category) values
Format string for y-axis (numeric) values
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
Orientation Props
Swap axes to create horizontal box plots
Axis Props
Title for x-axis. Use
true to use column nameTitle for y-axis. Use
true to use column nameShow 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
Type of x-axis: ‘category’ | ‘time’ | ‘value’
Use logarithmic scale for y-axis
Base for logarithmic y-axis
Minimum value for y-axis
Maximum value for y-axis
Series Props
Column name to group data into multiple series
Object mapping series names to 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
Wrap x-axis labels