Home
last modified time | relevance | path

Searched refs:axis_range (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/plotters/src/coord/ranged1d/combinators/
Dpartial_axis.rs20 axis_range: Range<<Self::CoordDescType as Ranged>::ValueType>, in partial_axis()
22 PartialAxis(self.into(), axis_range) in partial_axis()
81 axis_range: Range<T>, in make_partial_axis()
88 let left: f64 = num_traits::cast(axis_range.start.clone())?; in make_partial_axis()
89 let right: f64 = num_traits::cast(axis_range.end.clone())?; in make_partial_axis()
98 let axis_range: <Range<T> as AsRangedCoord>::CoordDescType = axis_range.into(); in make_partial_axis() localVariable
100 Some(PartialAxis(full_range.into(), axis_range.range())) in make_partial_axis()
/external/rust/crates/plotters/src/chart/
Dcontext.rs209 let mut axis_range = if orientation.0 == 0 { in draw_axis() localVariable
219 axis_range.start -= x0; in draw_axis()
220 axis_range.end -= x0; in draw_axis()
222 axis_range.start -= y0; in draw_axis()
223 axis_range.end -= y0; in draw_axis()
251 x0 = axis_range.start; in draw_axis()
252 x1 = axis_range.end; in draw_axis()
254 y0 = axis_range.start; in draw_axis()
255 y1 = axis_range.end; in draw_axis()
264 Ok(axis_range) in draw_axis()
[all …]