Raxol.Terminal.Graphics.ChartRenderers (Raxol v2.0.1)

View Source

Chart rendering functions extracted from DataVisualization. Handles specific chart types: heatmaps, scatter plots, histograms.

Summary

Functions

Creates a heatmap visualization with the given data and configuration.

Creates a histogram visualization with the given values and configuration.

Creates a scatter plot visualization with the given points and configuration.

Flattens 2D heatmap data into a list of data points.

Converts histogram values into data points with binning.

Renders a heatmap visualization.

Renders a histogram visualization.

Renders a scatter plot visualization.

Functions

create_heatmap_visualization(data, config)

Creates a heatmap visualization with the given data and configuration.

create_histogram_visualization(values, config)

Creates a histogram visualization with the given values and configuration.

create_scatter_visualization(points, config)

Creates a scatter plot visualization with the given points and configuration.

flatten_heatmap_data(data)

Flattens 2D heatmap data into a list of data points.

histogram_data_points(values, config)

Converts histogram values into data points with binning.

render_heatmap(graphics_id, data, config)

Renders a heatmap visualization.

render_histogram(graphics_id, values, config)

Renders a histogram visualization.

render_scatter_plot(graphics_id, points, config)

Renders a scatter plot visualization.