| 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" )] |
| 14 | mod area_series; |
| 15 | #[cfg (feature = "histogram" )] |
| 16 | mod histogram; |
| 17 | #[cfg (feature = "line_series" )] |
| 18 | mod line_series; |
| 19 | #[cfg (feature = "point_series" )] |
| 20 | mod point_series; |
| 21 | #[cfg (feature = "surface_series" )] |
| 22 | mod surface; |
| 23 | |
| 24 | #[cfg (feature = "area_series" )] |
| 25 | pub use area_series::AreaSeries; |
| 26 | #[cfg (feature = "histogram" )] |
| 27 | pub use histogram::Histogram; |
| 28 | #[cfg (feature = "line_series" )] |
| 29 | pub use line_series::LineSeries; |
| 30 | #[cfg (feature = "point_series" )] |
| 31 | pub use point_series::PointSeries; |
| 32 | #[cfg (feature = "surface_series" )] |
| 33 | pub use surface::SurfaceSeries; |
| 34 | |