Raxol.Terminal.Graphics.VisualizationHelpers (Raxol v2.0.1)
View SourceHelper functions for data visualization extracted from DataVisualization. Contains utilities for chart management, updates, and common operations.
Summary
Functions
Adds a single data point to the chart's buffer.
Adds multiple data points to the chart's buffer.
Creates chart visualization with the given ID, type, and configuration.
Returns default bounds for charts.
Generates a unique chart ID.
Gets the maximum number of points to keep in the buffer.
Handles chart click events.
Initializes animation state for a chart with the given configuration.
Re-renders a chart with updated data.
Renders initial chart content.
Sets up basic chart interaction without specific configuration.
Sets up chart interaction with the given configuration.
Checks if a chart needs to be updated based on its update interval.
Updates chart visualization with new data.
Validates chart configuration for the given type.
Functions
Adds a single data point to the chart's buffer.
Adds multiple data points to the chart's buffer.
Creates chart visualization with the given ID, type, and configuration.
Returns default bounds for charts.
Generates a unique chart ID.
Gets the maximum number of points to keep in the buffer.
Handles chart click events.
Initializes animation state for a chart with the given configuration.
Re-renders a chart with updated data.
Renders initial chart content.
Sets up basic chart interaction without specific configuration.
Sets up chart interaction with the given configuration.
Checks if a chart needs to be updated based on its update interval.
Updates chart visualization with new data.
Validates chart configuration for the given type.