Line Chart
Type:
line_chart• Category:visualization
Description
Store time-value points (list) for line chart widget
Parameters
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
widgetId | hidden | no | ||
rowsExpr | string | Expr -> list[dict] (each dict: ts/value or multiple numeric fields) | no | |
timestamp | string | no | ||
fields | fields_multi | Subset of numeric field names to include (auto multi-series). Leave empty for all. | no | |
shade | boolean | Fill area under lines (cienie). | no | true |
limit | number | no | 500 |
Help
Line Chart Worker - Time Series Visualization
Create interactive line charts for time series data with support for multiple data series and area shading.
Data Sources:
- rowsExpr: Expression returning list[dict] where each dict contains timestamp and numeric values
- timestamp: Field name containing timestamps (auto-detected from data)
- fields: Select specific numeric fields for plotting (leave empty for all numeric fields)
- limit: Maximum data points to display (default: 500)
Features:
- Multi-series: Plot multiple numeric fields as separate lines
- Time axis: Automatic timestamp detection and formatting
- Area shading: Optional fill under lines for better visualization
- Interactive: Zoom, pan, and hover tooltips
- Auto-detection: Automatically finds timestamp and numeric fields
Data Format: Each row should contain:
- Timestamp field (detected automatically or specified)
- One or more numeric value fields
Examples:
- Single series: rowsExpr="data.prices", timestamp="ts", fields=["close"]
- Multi-series: rowsExpr="data.metrics", fields=["cpu","memory","disk"]
- All fields: rowsExpr="data.sensors" (plots all numeric fields)
Performance:
- Efficient rendering for large datasets
- Configurable point limits to prevent slowdown