Trait plotters::coord::combinators::ToGroupByRange
source · [−]pub trait ToGroupByRange: AsRangedCoord + Sized where
Self::CoordDescType: DiscreteRanged, {
fn group_by(
self,
value: usize
) -> GroupBy<<Self as AsRangedCoord>::CoordDescType> { ... }
}
Expand description
The trait that provides method Self::group_by
function which creates a
GroupBy
decorated ranged value.
Provided Methods
fn group_by(
self,
value: usize
) -> GroupBy<<Self as AsRangedCoord>::CoordDescType>
fn group_by(
self,
value: usize
) -> GroupBy<<Self as AsRangedCoord>::CoordDescType>
Make a grouping ranged value, see the documentation for GroupBy
for details.
value
: The number of values we want to group it- return: The newly created grouping range specification