Struct charts::BaseChartProperties[][src]

pub struct BaseChartProperties {
    pub animation_frame_id: usize,
    pub animation_start_time: Option<i64>,
    pub easing: Option<EasingFunction>,
    pub height: f64,
    pub width: f64,
    pub focused_entity_index: i64,
    pub focused_channel_index: i64,
    pub entity_value_formatter: Option<ValueFormatter>,
    pub tooltip_label_formatter: Option<LabelFormatter>,
    pub tooltip_value_formatter: Option<ValueFormatter>,
    pub area: Rect<f64>,
    pub title_box: Rect<f64>,
    // some fields omitted
}

Fields

animation_frame_id: usize

ID of the current animation frame.

animation_start_time: Option<i64>

The starting time of an animation cycle.

easing: Option<EasingFunction>height: f64

The chart“s width.

width: f64

The chart“s height.

focused_entity_index: i64

Index of the highlighted point group/bar group/pie/…

focused_channel_index: i64entity_value_formatter: Option<ValueFormatter>tooltip_label_formatter: Option<LabelFormatter>

The function used to format channel names to display in the tooltip.

tooltip_value_formatter: Option<ValueFormatter>

The function used to format channel data to display in the tooltip.

area: Rect<f64>

Bounding box of the channel and axes.

title_box: Rect<f64>

Bounding box of the chart title.

Trait Implementations

impl Clone for BaseChartProperties[src]

impl Default for BaseChartProperties[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Construction<T> for T where
    T: Default + Clone

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<Fr, To> IntoColor<To> for Fr where
    To: FromColor<Fr>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,