[−][src]Trait plotters::prelude::Ranged
The trait that indicates we have a ordered and ranged value Which is used to describe the axis
Associated Types
type ValueType
The type of this value
Required methods
fn map(&self, value: &Self::ValueType, limit: (i32, i32)) -> i32
This function maps the value to i32, which is the drawing coordinate
fn key_points(&self, max_points: usize) -> Vec<Self::ValueType>
This function gives the key points that we can draw a grid based on this
fn range(&self) -> Range<Self::ValueType>
Get the range of this value