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: i64
entity_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 Clone for BaseChartProperties
[src]fn clone(&self) -> BaseChartProperties
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for BaseChartProperties
[src]
impl Default for BaseChartProperties
[src]fn default() -> BaseChartProperties
[src]
Auto Trait Implementations
impl RefUnwindSafe for BaseChartProperties
impl RefUnwindSafe for BaseChartProperties
impl Send for BaseChartProperties
impl Send for BaseChartProperties
impl Sync for BaseChartProperties
impl Sync for BaseChartProperties
impl Unpin for BaseChartProperties
impl Unpin for BaseChartProperties
impl UnwindSafe for BaseChartProperties
impl UnwindSafe for BaseChartProperties
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
pub fn into_color(self) -> To
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,