Module plots

Module plots 

Source
Expand description

Modular plot types for ImPlot

This module provides a modular approach to different plot types, each with their own builder pattern and configuration options.

Re-exports§

pub use bar::*;
pub use bar_groups::*;
pub use digital::*;
pub use dummy::*;
pub use error_bars::*;
pub use heatmap::*;
pub use histogram::*;
pub use image::*;
pub use inf_lines::*;
pub use line::*;
pub use pie::*;
pub use scatter::*;
pub use shaded::*;
pub use stairs::*;
pub use stems::*;
pub use text::*;

Modules§

bar
Bar plot implementation
bar_groups
Bar groups plot implementation
digital
Digital plot implementation
dummy
Dummy plot implementation
error_bars
Error bars plot implementation
heatmap
Heatmap plot implementation
histogram
Histogram plot implementation
image
Image plot implementation
inf_lines
Infinite lines plot implementation
line
Line plot implementation
pie
Pie chart plot implementation
scatter
Scatter plot implementation
shaded
Shaded area plot implementation
stairs
Stairs plot implementation
stems
Stem plot implementation
text
Text plot implementation

Structs§

PlotBuilder
Universal plot builder that can create any plot type

Enums§

PlotError
Errors that can occur during plotting
PlotType
Enum representing different plot types

Traits§

Plot
Common trait for all plot types
PlotData
Common trait for plot data validation

Functions§

safe_cstring
Helper function to create a CString safely This follows the pattern used in dear-imgui for safe string conversion
validate_data_lengths
Helper function to validate data length consistency for slices