pub trait ScaleNumber {
// Required methods
fn domain(&self) -> (f64, f64);
fn scale(&self, value: f64) -> f64;
fn count_distance_step(&self) -> (f64, f64, f64);
fn to_percent(&self) -> Vec<f64>;
fn gen_pie(&self) -> Vec<Arc>;
fn to_percent_radar(&self) -> Vec<f64>;
fn gen_axes(&self) -> Axes;
fn to_stick(&self) -> Vec<Stick>;
fn gen_radar_grid(&self, count: usize) -> Vec<Vector>;
}Expand description
This trait allows to create a number axes for the chart