Skip to main content

Crate ferroui_livecharts

Crate ferroui_livecharts 

Source
Expand description

Live chart calculation and retained scenes for FerroUI: the core of the LiveCharts2 port (axes, scales, bounds, stacking, motion, paints, scenes and visual states), the Cartesian engine and the pie engine. The other chart engines land with their upstream tests in the following parts (docs/porting/livecharts2.md); see NOTICE.md for the source attribution.

Re-exports§

pub use axis::Axis;
pub use axis::AxisPosition;
pub use axis::AxisScale;
pub use cartesian_chart_engine::CartesianChartEngine;
pub use cartesian_chart_engine::CartesianMeasurement;
pub use cartesian_chart_engine::CartesianOptions;
pub use cartesian_chart_engine::CartesianSeriesBounds;
pub use cartesian_chart_engine::Section;
pub use easing_functions::EasingFunctions;
pub use easing_functions::KeyFrame;
pub use kernel::Coordinate;
pub use kernel::Error;
pub use kernel::StackedValue;
pub use kernel::Stacker;
pub use motion::Animatable;
pub use motion::Animation;
pub use motion::MotionProperty;
pub use motion::Repeat;
pub use paint::BrushSpace;
pub use pie_chart_engine::PieChartEngine;
pub use pie_chart_engine::PieOptions;
pub use scene::ChartError;
pub use scene::FindingStrategy;
pub use scene::Geometry;
pub use scene::HitRegion;
pub use scene::HitShape;
pub use scene::LegendItem;
pub use scene::PaintStyle;
pub use scene::PathCommand;
pub use scene::PointId;
pub use scene::Primitive;
pub use scene::Scene;
pub use scene::TextAnchor;
pub use series::PolarLabelsPosition;
pub use series::RadialAlignment;
pub use series::Series;
pub use series::SeriesKind;
pub use visual_states::DrawnPropertiesDictionary;
pub use visual_states::DrawnPropertySetter;
pub use visual_states::IStateBehavior;
pub use visual_states::StateBehavior;
pub use visual_states::StateOrigin;
pub use visual_states::VisualStatesDictionary;

Modules§

axis
Chart axis snapshots and stable value/pixel conversion.
cartesian_chart_engine
Cartesian measurement adapted from the pinned chart and series implementations. Pure calculation produces a retained FerroUI drawing scene; native controls own scheduling.
easing
Easing functions translated from the pinned chart implementation.
easing_functions
Predefined and custom chart easing functions. Samples use FerroUI’s f64 units.
kernel
Chart coordinates and shared numerical algorithms.
measure
Chart ranges, scale transforms and tick calculation.
motion
Clock-driven animation values. The host supplies elapsed milliseconds.
paint
LiveCharts paint semantics carried by FerroUI’s native brush and pen types.
pie_chart_engine
Pie, doughnut and radial gauge measurement.
scene
Backend-independent measured chart drawing and point interaction.
series
Typed, immutable series snapshots consumed by the chart measurement engines.
visual_states
Layered property setters and imperative behavior on registered visual values.

Functions§

register_types