blob: edb0902d633a36c934bae6ae558fc8cc628efc0d (
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
|
/*!
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 builder;
mod context;
mod dual_coord;
mod mesh;
mod series;
pub use builder::{ChartBuilder, LabelAreaPosition};
pub use context::{ChartContext, ChartState, SeriesAnno};
pub use dual_coord::{DualCoordChartContext, DualCoordChartState};
pub use mesh::MeshStyle;
pub use series::{SeriesLabelPosition, SeriesLabelStyle};
|