1use dear_implot_sys as sys;
41
42pub use dear_imgui_rs::{Context, Ui};
44pub use sys::{ImPlotPoint, ImPlotRange, ImPlotRect};
45pub use sys::{ImTextureID, ImVec2, ImVec4};
46
47mod advanced;
48mod axis_types;
49mod colormap;
50mod colors;
51mod context;
52mod flags;
53mod histogram_bins;
54mod markers;
55mod numeric_format;
56mod plot_types;
57mod style;
58mod ui_ext;
59mod utils;
60
61pub mod plots;
63
64pub use axis_types::{Axis, XAxis, YAxis, YAxisChoice};
65pub(crate) use axis_types::{IMPLOT_AUTO, y_axis_choice_option_to_i32};
66pub use colormap::Colormap;
67pub use colors::PlotColorElement;
68pub use context::*;
69pub use flags::*;
70pub use histogram_bins::{BinMethod, HistogramBins};
71pub use markers::Marker;
72pub use numeric_format::{AxisFormat, AxisFormatError, FloatFormat, FloatFormatError};
73pub use plot_types::{PlotCond, PlotLocation, PlotOrientation};
74pub use style::*;
75pub use ui_ext::ImPlotExt;
76pub use utils::*;
77
78pub use plots::{
80 Plot, PlotData, PlotDataLayout, PlotDataOffset, PlotDataStride, PlotError,
81 bar::{BarPlot, PositionalBarPlot},
82 error_bars::{AsymmetricErrorBarsPlot, ErrorBarsPlot, SimpleErrorBarsPlot},
83 heatmap::{HeatmapPlot, HeatmapPlotF32},
84 histogram::{Histogram2DPlot, HistogramPlot},
85 line::{LinePlot, SimpleLinePlot},
86 pie::{PieChartPlot, PieChartPlotF32},
87 polygon::PolygonPlot,
88 scatter::{ScatterPlot, SimpleScatterPlot},
89 shaded::{ShadedBetweenPlot, ShadedPlot, SimpleShadedPlot},
90 stems::{SimpleStemPlot, StemPlot},
91};
92
93pub use plots::*;
95
96pub use advanced::{
98 LegendFlags, LegendLocation, LegendManager, LegendToken, MultiAxisPlot, MultiAxisToken,
99 SubplotFlags, SubplotGrid, SubplotToken, YAxisConfig,
100};