Build New Chart
This document provides guidance for building new custom charts from scratch using the ES (ElasticSearch) Builder or Prometheus Query Builder.
Accessing the Builder
To access the chart builder:
- Navigate to your custom dashboard
- Click "Add your first chart" or "+ Add chart" button
- The Catalog drawer opens
- Switch to the "Build new" tab
Chart Builder Features
Two Builder Types
The "Build new" tab provides two builder interfaces:
- ES Builder - Build charts from ElasticSearch-indexed data
- Prometheus Query Builder - Build charts from Prometheus metrics
Common Features
Both builders share these features:
- Real-time preview - See chart rendering as you configure
- Validation - Automatic validation of required fields
- Validation states - Clear feedback on invalid configurations
- Error handling - User-friendly error messages and recovery options
Builder Live Preview
Filename: assets/builder-preview.png
What it shows: The builder with a valid configuration and live preview pane showing sample data
How to capture:
- Click "Add your first chart" or "+ Add chart"
- Switch to "Build new" tab
- Select a valid data stream (e.g., Calls)
- Select a valid metric (e.g., count, sum)
- Enter a chart title (required)
- Choose a visualization type
- The preview pane at the bottom automatically updates with sample data
- Capture showing the builder form and preview pane
Expected result:
- Builder form shows completed fields
- Validation indicates all fields are valid
- "Add to dashboard" button is enabled
- Preview pane shows chart rendering with sample data
- Chart grid, axes, legend visible in preview
Related Documentation
- Catalog Charts - Pre-built charts from catalog
- Edit Mode - Modify dashboard layout
- Managing Charts - Chart actions in Edit Mode
- Chart Limits - 20 charts per dashboard maximum