Home
last modified time | relevance | path

Searched refs:key_points (Results 1 – 13 of 13) sorted by relevance

/external/rust/crates/plotters/src/coord/ranged1d/combinators/
Dckps.rs66 fn key_points<Hint: KeyPointHint>(&self, hint: Hint) -> Vec<Self::ValueType> { in key_points() function
189 fn key_points<Hint: KeyPointHint>(&self, hint: Hint) -> Vec<Self::ValueType> { in key_points() method
223 assert_eq!(range.key_points(BoldPoints(100)), vec![1, 2, 3]); in test_with_key_points()
224 assert_eq!(range.key_points(LightPoints::new(100, 100)), vec![]); in test_with_key_points()
226 assert_eq!(range.key_points(BoldPoints(10)), vec![1, 2, 3]); in test_with_key_points()
228 range.key_points(LightPoints::new(10, 10)), in test_with_key_points()
251 assert_eq!(range.key_points(BoldPoints(100)), vec![1, 2, 3]); in test_with_key_point_method()
252 assert_eq!(range.key_points(LightPoints::new(100, 100)), vec![]); in test_with_key_point_method()
254 assert_eq!(range.key_points(BoldPoints(10)), vec![1, 2, 3]); in test_with_key_point_method()
256 range.key_points(LightPoints::new(10, 10)), in test_with_key_point_method()
Dpartial_axis.rs39 fn key_points<Hint: KeyPointHint>(&self, hint: Hint) -> Vec<Self::ValueType> { in key_points() function
40 self.0.key_points(hint) in key_points()
Dnested.rs103 fn key_points<Hint: KeyPointHint>(&self, hint: Hint) -> Vec<Self::ValueType> { in key_points() method
106 .key_points(hint) in key_points()
119 .key_points(secondary_size) in key_points()
Dlogarithmic.rs101 fn key_points<Hint: KeyPointHint>(&self, hint: Hint) -> Vec<Self::ValueType> { in key_points() method
158 range.key_points(100); in regression_test_issue_143()
Dlinspace.rs290 fn key_points<Hint: KeyPointHint>(&self, hint: Hint) -> Vec<T::ValueType> { in key_points() function
297 .key_points(hint) in key_points()
357 assert_eq!(coord.key_points(100000).len(), 1001); in test_float_linspace()
428 assert_eq!(coord.key_points(10000000).len(), 100_000); in test_duration_linspace()
Dgroup_by.rs74 fn key_points<HintType: KeyPointHint>(&self, hint: HintType) -> Vec<T::ValueType> { in key_points() method
/external/rust/crates/plotters/src/coord/ranged1d/types/
Dnumeric.rs62 ($type:ty, $name:ident, $key_points:ident, $doc: expr, $fmt: ident) => {
92 fn key_points<Hint: KeyPointHint>(&self, hint: Hint) -> Vec<$type> {
93 $key_points((self.0, self.1), hint.max_num_points())
100 ($type:ty, $name:ident, $key_points:ident, $doc: expr) => {
101 make_numeric_coord!($type, $name, $key_points, $doc, DefaultFormatting);
335 assert_eq!(coord.key_points(11).len(), 11); in test_linear_coord_map()
336 assert_eq!(coord.key_points(11)[0], 0); in test_linear_coord_map()
337 assert_eq!(coord.key_points(11)[10], 20); in test_linear_coord_map()
Ddatetime.rs182 fn key_points<HintType: KeyPointHint>(&self, hint: HintType) -> Vec<Self::ValueType> { in key_points() function
366 fn key_points<HintType: KeyPointHint>(&self, hint: HintType) -> Vec<Self::ValueType> { in key_points() function
369 let normal = coord.key_points(hint.max_num_points()); in key_points()
493 fn key_points<HintType: KeyPointHint>(&self, hint: HintType) -> Vec<Self::ValueType> { in key_points() function
495 return Monthly(self.0.clone()).key_points(hint); in key_points()
618 fn key_points<HintType: KeyPointHint>(&self, hint: HintType) -> Vec<Self::ValueType> { in key_points() function
651 .key_points(max_points) in key_points()
701 fn key_points<HintType: KeyPointHint>(&self, hint: HintType) -> Vec<Self::ValueType> { in key_points() method
852 let kps = ranged_coord.key_points(23); in test_date_range_long()
876 let kps = ranged_coord.key_points(4); in test_date_range_short()
[all …]
Dslice.rs35 fn key_points<Hint: KeyPointHint>(&self, hint: Hint) -> Vec<Self::ValueType> { in key_points() method
85 slice_range.key_points(6), in test_slice_range()
/external/rust/crates/plotters/src/coord/ranged1d/
Ddiscrete.rs161 fn key_points<HintType: KeyPointHint>(&self, hint: HintType) -> Vec<Self::ValueType> { in key_points() method
163 .key_points(hint) in key_points()
259 for (kps, idx) in coord.key_points(20).into_iter().zip(0..) { in test_centric_coord()
Dmod.rs199 fn key_points<Hint: KeyPointHint>(&self, hint: Hint) -> Vec<Self::ValueType>; in key_points() method
/external/rust/crates/plotters/src/coord/ranged2d/
Dcartesian.rs57 self.logic_x.key_points(v_limit), in draw_mesh()
58 self.logic_y.key_points(h_limit), in draw_mesh()
/external/rust/crates/plotters/src/chart/
Dcontext.rs623 let x_points = coord.logic_x.key_points(x_hint); in get_key_points()
624 let y_points = coord.logic_y.key_points(y_hint); in get_key_points()
625 let z_points = coord.logic_z.key_points(z_hint); in get_key_points()