Available Chart Types
BarChart
Vertical and horizontal bars, stacked and grouped
LineChart
Time series and trend lines
AreaChart
Filled area charts and stacked areas
ScatterPlot
Scatter and bubble charts
BubbleChart
Sized bubbles for 3-dimensional data
Heatmap
Color-coded matrix visualizations
BoxPlot
Distribution and quartile analysis
FunnelChart
Conversion funnels and pipelines
SankeyDiagram
Flow and relationship diagrams
BarChart
Bar charts are ideal for comparing categories or showing changes over time.Basic Bar Chart
Grouped Bar Chart
Display series side-by-side for comparison:Horizontal Bar Chart
Swap axes withswapXY=true:
Props
Query result containing the data to visualize
Column name for x-axis
Column name(s) for y-axis values
Column name for grouping data into multiple series
Bar chart type
Create horizontal bar chart
Show value labels on bars
Show total label on stacked bars
Use logarithmic scale for y-axis
Color palette or array of colors
LineChart
Line charts are perfect for showing trends over time.Basic Line Chart
Step Line
AreaChart
Area charts are similar to line charts but with filled areas below the line.Basic Area Chart
Stacked Area
100% Stacked Area
ScatterPlot
Scatter plots show the relationship between two variables.BoxPlot
Box plots show data distribution and quartiles.Advanced Features
Reference Lines
Add reference lines to any chart:Reference Areas
Multiple Y-Axes
Display two metrics with different scales:Custom ECharts Options
Extend any chart with custom ECharts configuration:Common Props
These props are available on most chart components:Chart title displayed above the chart
Chart subtitle displayed below the title
Label for the x-axis
Label for the y-axis
Show or hide the legend
Show vertical gridlines
Show horizontal gridlines
Height of chart area in pixels
Enable data download button
Enable image download button
Connect multiple charts for synchronized interactions
Formatting
Value Formatting
Usefmt props to control number display:
yFmt=usd- US Dollar formatyFmt=eur- Euro formatyFmt=pct- Percentage formatyFmt=num0- Integer formatyFmt=num2- 2 decimal places
Date Formatting
Evidence automatically detects date columns. Customize withxFmt:
Best Practices
- Choose the right chart type - Use bar charts for categories, line charts for trends
- Limit series count - Too many series makes charts hard to read
- Add context - Use titles, axis labels, and reference lines
- Consider color - Use colorPalette for consistent branding
- Optimize for mobile - Charts are responsive by default
Next Steps
Tables
Display data in interactive tables
Inputs
Add filters and interactivity