Skip to main content

ferroui_livecharts/
lib.rs

1//! Live chart calculation and retained scenes for FerroUI: the core of the LiveCharts2 port
2//! (axes, scales, bounds, stacking, motion, paints, scenes and visual states), the Cartesian
3//! engine and the pie engine. The other chart engines land with their upstream tests in the
4//! following parts (docs/porting/livecharts2.md); see NOTICE.md for the source attribution.
5
6pub mod axis;
7pub mod cartesian_chart_engine;
8pub mod easing;
9pub mod easing_functions;
10pub mod kernel;
11pub mod measure;
12pub mod motion;
13pub mod paint;
14pub mod pie_chart_engine;
15pub mod scene;
16mod scene_transform;
17pub mod series;
18pub mod visual_states;
19
20pub use axis::{Axis, AxisPosition, AxisScale};
21pub use cartesian_chart_engine::{
22    CartesianChartEngine, CartesianMeasurement, CartesianOptions, CartesianSeriesBounds, Section,
23};
24pub use easing_functions::{EasingFunctions, KeyFrame};
25pub use kernel::{Coordinate, Error, StackedValue, Stacker};
26pub use motion::{Animatable, Animation, MotionProperty, Repeat};
27pub use paint::BrushSpace;
28pub use pie_chart_engine::{PieChartEngine, PieOptions};
29pub use scene::{
30    ChartError, FindingStrategy, Geometry, HitRegion, HitShape, LegendItem, PaintStyle,
31    PathCommand, PointId, Primitive, Scene, TextAnchor,
32};
33pub use series::{PolarLabelsPosition, RadialAlignment, Series, SeriesKind};
34pub use visual_states::{
35    DrawnPropertiesDictionary, DrawnPropertySetter, IStateBehavior, StateBehavior, StateOrigin,
36    VisualStatesDictionary,
37};
38mod register_types;
39pub use register_types::register_types;
40
41#[cfg(test)]
42mod cartesian_series_tests;
43#[cfg(test)]
44mod upstream_regression_tests;
45#[cfg(test)]
46mod pie_series_tests;