[−][src]Struct plotlib::repr::BarChart
Methods
impl BarChart
[src]
pub fn new(v: f64) -> Self
[src]
pub fn style(self, style: &BoxStyle) -> Self
[src]
pub fn get_style(&self) -> &BoxStyle
[src]
pub fn label<T>(self, label: T) -> Self where
T: Into<String>,
[src]
T: Into<String>,
pub fn get_label(&self) -> &String
[src]
Trait Implementations
impl CategoricalRepresentation for BarChart
[src]
fn range(&self) -> (f64, f64)
[src]
The maximum range. Used for auto-scaling axis
fn ticks(&self) -> Vec<String>
[src]
The ticks that this representation covers. Used to collect all ticks for display
fn to_svg(
&self,
x_axis: &CategoricalAxis,
y_axis: &ContinuousAxis,
face_width: f64,
face_height: f64
) -> Group
[src]
&self,
x_axis: &CategoricalAxis,
y_axis: &ContinuousAxis,
face_width: f64,
face_height: f64
) -> Group
fn to_text(
&self,
_x_axis: &CategoricalAxis,
_y_axis: &ContinuousAxis,
_face_width: u32,
_face_height: u32
) -> String
[src]
&self,
_x_axis: &CategoricalAxis,
_y_axis: &ContinuousAxis,
_face_width: u32,
_face_height: u32
) -> String
Auto Trait Implementations
impl RefUnwindSafe for BarChart
impl Send for BarChart
impl Sync for BarChart
impl Unpin for BarChart
impl UnwindSafe for BarChart
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,