aboutsummaryrefslogtreecommitdiff
path: root/src/chart/mod.rs
blob: 4a8802963a7fc08127010282d2f1259744062524 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*!
The high-level plotting abstractions.

Plotters uses `ChartContext`, a thin layer on the top of `DrawingArea`,  to provide
high-level chart specific drawing functionalities, like, mesh line, coordinate label
and other common components for the data chart.

To draw a series, `ChartContext::draw_series` is used to draw a series on the chart.
In Plotters, a series is abstracted as an iterator of elements.

`ChartBuilder` is used to construct a chart. To learn more detailed information, check the
detailed description for each struct.
*/

mod axes3d;
mod builder;
mod context;
mod dual_coord;
mod mesh;
mod series;
mod state;

pub use builder::{ChartBuilder, LabelAreaPosition};
pub use context::ChartContext;
pub use dual_coord::{DualCoordChartContext, DualCoordChartState};
pub use mesh::{MeshStyle, SecondaryMeshStyle};
pub use series::{SeriesAnno, SeriesLabelPosition, SeriesLabelStyle};
pub use state::ChartState;

use context::Coord3D;