pub trait ScaleTime {
// Required methods
fn domain(&self) -> (NaiveDateTime, NaiveDateTime);
fn domain_unix(&self) -> (f64, f64);
fn scale(&self, value: NaiveDateTime) -> f64;
fn gen_axes(&self) -> Axes;
fn to_stick(&self) -> Vec<Stick>;
}Expand description
This trait allows to create a time axes for the chart