struct
Linear
pub struct Linear {
pub domain: (f64, f64),
pub range: (f32, f32),
}A continuous scale.
Fields
Methods
new
pub fn new(domain: (f64, f64), range: (f32, f32)) -> LinearA scale mapping domain (data values) onto range (pixels).