pub struct ChartConfig {
pub chart_type: ChartType,
pub title: Option<String>,
pub series: Vec<ChartSeries>,
pub show_legend: bool,
pub view_3d: Option<View3DConfig>,
}Expand description
Configuration for a chart.
Fields§
§chart_type: ChartTypeThe type of chart.
title: Option<String>Optional chart title.
series: Vec<ChartSeries>Data series for the chart.
show_legend: boolWhether to show the legend.
view_3d: Option<View3DConfig>Optional 3D view settings (auto-populated for 3D chart types if not set).
Trait Implementations§
Source§impl Clone for ChartConfig
impl Clone for ChartConfig
Source§fn clone(&self) -> ChartConfig
fn clone(&self) -> ChartConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChartConfig
impl RefUnwindSafe for ChartConfig
impl Send for ChartConfig
impl Sync for ChartConfig
impl Unpin for ChartConfig
impl UnwindSafe for ChartConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more