use super::{ChartType, Dataset, LegendPlacement, Orientation, Series};
mod axis;
mod chart;
mod layers;
mod multiples;
mod validate;
pub use axis::{Gaps, TimeAxisKind, TimeAxisSpec, TimePrecision};
pub use layers::{
Curve, Dash, LayerSpec, Mark, OhlcPoint, PaneSpec, Shape, Stroke, TimePoint, Tooltips,
};
pub(crate) use validate::{LayerContext, validate_layer_name};
pub(crate) const MAX_TIME_POINTS_PER_LAYER: usize = 2_000;
pub(crate) const MAX_TIME_LAYERS: usize = 6;
pub(crate) const MAX_STACKED_LAYERS: usize = 8;
pub(crate) const MAX_TIME_PANES: usize = 4;
pub(crate) const MAX_HEIGHT_RATIO: u32 = 10;
pub(crate) const MAX_ANNOTATIONS: usize = 6;
pub(crate) const MIN_PANELS: usize = 2;
pub(crate) const MAX_PANELS: usize = 12;
pub(crate) const MAX_COLUMNS: u32 = 6;
const MAX_BAR_PANEL_CATEGORIES: usize = 20;
fn default_timezone() -> String {
"UTC".to_owned()
}
const fn default_height_ratio() -> u32 {
1
}