1/*!
2 This module contains predefined types of series.
3 The series in Plotters is actually an iterator of elements, which
4 can be taken by `ChartContext::draw_series` function.
5
6 This module defines some "iterator transformer", which transform the data
7 iterator to the element iterator.
8
9 Any type that implements iterator emitting drawable elements are acceptable series.
10 So iterator combinator such as `map`, `zip`, etc can also be used.
11*/
12
13#[cfg(feature = "area_series")]
14mod area_series;
15#[cfg(feature = "histogram")]
16mod histogram;
17#[cfg(feature = "line_series")]
18mod line_series;
19#[cfg(feature = "point_series")]
20mod point_series;
21#[cfg(feature = "surface_series")]
22mod surface;
23
24#[cfg(feature = "area_series")]
25pub use area_series::AreaSeries;
26#[cfg(feature = "histogram")]
27pub use histogram::Histogram;
28#[cfg(feature = "line_series")]
29pub use line_series::LineSeries;
30#[cfg(feature = "point_series")]
31pub use point_series::PointSeries;
32#[cfg(feature = "surface_series")]
33pub use surface::SurfaceSeries;
34