iced_plot 0.4.0

A GPU-accelerated plotting widget for Iced.
Documentation
//! A GPU-accelerated plotting widget for Iced.
//!
//! - Works with large datasets (up to millions of points)
//! - Retains GPU buffers between frames for fast redraws and picking
//! - Axes/labels, legends, reference lines, hover/pick highlighting, crosshairs, axis linking, etc.
//!
//! Quick start:
//!
//! ```
//! use iced_plot::{Color, PlotWidgetBuilder, Series};
//!
//! let series = Series::circles((0..100).map(|i| [i as f64, i as f64]).collect(), 2.0)
//!     .with_color(Color::from_rgb(0.2, 0.6, 1.0))
//!     .with_label("points");
//!
//! PlotWidgetBuilder::new()
//!     .with_x_label("x")
//!     .with_y_label("y")
//!     .add_series(series)
//!     .build()
//!     .unwrap();
//! ```
//!
//! See `examples/` for more.
pub(crate) mod axes_labels;
pub(crate) mod axis_link;
pub(crate) mod axis_scale;
pub(crate) mod camera;
pub(crate) mod controls;
pub(crate) mod fill;
pub(crate) mod grid;
pub(crate) mod legend;
pub(crate) mod message;
pub(crate) mod picking;
pub(crate) mod plot_renderer;
pub(crate) mod plot_state;
pub(crate) mod plot_widget;
pub(crate) mod plot_widget_builder;
pub(crate) mod point;
pub(crate) mod reference_lines;
pub(crate) mod series;
pub(crate) mod ticks;

// Iced re-exports.
pub use iced::Color;

// Re-exports of public types.
pub use axis_link::AxisLink;
pub use axis_scale::AxisScale;
pub use controls::{PanControls, PickControls, PlotControls, ZoomControls};
pub use fill::Fill;
pub use grid::TickWeight;
pub use message::{DragEvent, HoverPickEvent, PlotUiMessage, PointId, TooltipContext};
pub use plot_widget::{HighlightPoint, PlotWidget};
pub use plot_widget_builder::PlotWidgetBuilder;
pub use point::{MarkerType, Point};
pub use reference_lines::{HLine, VLine};
pub use series::{LineStyle, MarkerSize, MarkerStyle, Series, ShapeId};
pub use ticks::{
    Tick, TickFormatter, TickProducer, default_formatter, default_tick_producer, log_formatter,
    log_tick_producer,
};