Raxol.Core.Metrics.Visualizer (Raxol v2.0.1)
View SourceVisualization system for the Raxol metrics.
This module handles:
- Real-time metric visualization
- Metric data formatting
- Chart generation
- Dashboard rendering
- Export capabilities
Summary
Functions
Returns a specification to start this module under a supervisor.
Creates a new chart with the given metrics and options.
Creates a new chart with the given metrics, data, and options.
Exports chart data in the specified format.
Gets the current chart data.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_call/3.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.
Stops the metrics visualizer.
Updates an existing chart with new metrics.
Types
@type chart_options() :: %{ type: chart_type(), title: String.t(), width: pos_integer(), height: pos_integer(), color: String.t(), show_legend: boolean(), show_grid: boolean(), time_range: {DateTime.t(), DateTime.t()} }
@type chart_type() :: :line | :bar | :gauge | :histogram
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Creates a new chart with the given metrics and options.
Creates a new chart with the given metrics, data, and options.
Exports chart data in the specified format.
Gets the current chart data.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_call/3.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_cast/2.
Callback implementation for Raxol.Core.Behaviours.BaseManager.handle_manager_info/2.
Stops the metrics visualizer.
Updates an existing chart with new metrics.