use super::*;
#[derive(Clone, Data, Debug, PartialEq)]
pub struct EuvChartAxisScale {
#[get(type(copy))]
pub(crate) axis_type: EuvChartAxisType,
#[get(type(copy))]
pub(crate) min: f32,
#[get(type(copy))]
pub(crate) max: f32,
#[get(type(copy))]
pub(crate) inverse: bool,
pub(crate) ticks: Vec<f32>,
pub(crate) labels: Vec<String>,
pub(crate) categories: Vec<String>,
#[get(type(copy))]
pub(crate) window_start: f32,
#[get(type(copy))]
pub(crate) window_span: f32,
#[get(type(copy))]
pub(crate) category_base_index: usize,
}
#[derive(Clone, Copy, Data, Debug, PartialEq)]
pub struct EuvChartZoomSlice {
#[get(type(copy))]
pub(crate) start_pct: f32,
#[get(type(copy))]
pub(crate) end_pct: f32,
#[get(type(copy))]
pub(crate) start_index: usize,
#[get(type(copy))]
pub(crate) end_index: usize,
#[get(type(copy))]
pub(crate) start_f: f32,
#[get(type(copy))]
pub(crate) end_f: f32,
}
#[derive(Clone, Data, Debug, PartialEq)]
pub struct EuvChartVisualEvaluator {
#[get(type(copy))]
pub(crate) kind: EuvChartVisualMapKind,
#[get(type(copy))]
pub(crate) min: f32,
#[get(type(copy))]
pub(crate) max: f32,
pub(crate) stops: Vec<Color>,
pub(crate) pieces: Vec<EuvChartVisualPiece>,
}