theta_chart/coord/
axes.rs

1use crate::coord::Stick;
2
3#[derive(Debug, Clone, Default)]
4/// Store data for one Axes
5pub struct Axes {
6    pub sticks: Vec<Stick>,
7    pub step: f64,
8    pub style: String,
9}
10
11impl Axes {
12    pub fn new(sticks: Vec<Stick>, step: f64, style: String) -> Self {
13        Self {
14            sticks,
15            step,
16            style,
17        }
18    }
19}