Widgets
Area Chart Widget
Learn how to use the Area Chart Widget in OpenLIT to visualize time-based trends using ClickHouse queries and dynamic parameters.
๐ When to Use
Use the Area Chart when you want to:
- Show trends over time
- Emphasize volume or scale changes
- Display multiple series stacked
Area charts are particularly effective for metrics that accumulate or change gradually over time.
๐ ๏ธ How to Add an Area Chart
๐ Example:
โ๏ธ Configuration Options
Customize your Area Chart with the following options:
- X-Axis: A path to label or the group by param
- Y-Axes: An array of value path and color combination
Use dynamic bindings like {{filter.timeLimit.start}}
, {{filter.timeLimit.end}}
to make your chart respond to dashboard time filters.
โ Best Practices
- Limit the number of series to keep the chart readable.
- Apply consistent color palettes for related metrics.
- Use filters (
{{filter.timeLimit.start}}
,{{filter.timeLimit.end}}
) to enable dynamic dashboards