Skip to main content

plotters_ternary/chart/
mod.rs

1mod builder;
2mod context;
3mod contour_display;
4mod error;
5mod mesh;
6mod rotated_text;
7
8pub use builder::TernaryChartBuilder;
9pub use context::{CartesianChartContext, CartesianPlottingArea, TernaryChart};
10pub use contour_display::{
11    ContourColorBar, ContourColorBarOrientation, ContourColorBarPosition, ContourDisplayError,
12    ContourLabelAnchor, ContourLabelConfig, ContourLabelMode, ContourLabelPlacement,
13    ContourLabelStyle,
14};
15pub use error::TernaryChartError;
16pub use mesh::{
17    AxisLabelFormat, AxisNamePosition, AxisTextStyle, CornerLabelVisibility, CroppedAxisPolicy,
18    EndpointLabelPolicy, TernaryAxis, TernaryAxisConfig, TernaryMesh, TernaryMeshConfig,
19    TickDirection, TickRangeMode, TickSpec, TickStyle,
20};
21
22pub(crate) use rotated_text::RotatedText;
23pub use rotated_text::{
24    PreparedRotatedText, capture_rotated_text, capture_svg_rotated_text,
25    draw_prepared_rotated_text, svg_rotated_text_elements,
26};