1 | /*! |
2 | The high-level plotting abstractions. |
3 | |
4 | Plotters uses `ChartContext`, a thin layer on the top of `DrawingArea`, to provide |
5 | high-level chart specific drawing functionalities, like, mesh line, coordinate label |
6 | and other common components for the data chart. |
7 | |
8 | To draw a series, `ChartContext::draw_series` is used to draw a series on the chart. |
9 | In Plotters, a series is abstracted as an iterator of elements. |
10 | |
11 | `ChartBuilder` is used to construct a chart. To learn more detailed information, check the |
12 | detailed description for each struct. |
13 | */ |
14 | |
15 | mod axes3d; |
16 | mod builder; |
17 | mod context; |
18 | mod dual_coord; |
19 | mod mesh; |
20 | mod series; |
21 | mod state; |
22 | |
23 | pub use builder::{ChartBuilder, LabelAreaPosition}; |
24 | pub use context::ChartContext; |
25 | pub use dual_coord::{DualCoordChartContext, DualCoordChartState}; |
26 | pub use mesh::{MeshStyle, SecondaryMeshStyle}; |
27 | pub use series::{SeriesAnno, SeriesLabelPosition, SeriesLabelStyle}; |
28 | pub use state::ChartState; |
29 | |
30 | use context::Coord3D; |
31 | |