pub struct ChartSpec {
pub chart_type: ChartType,
pub series: Vec<ChartSeries>,
pub title: Option<String>,
pub x_label: Option<String>,
pub y_label: Option<String>,
pub width: Option<usize>,
pub height: Option<usize>,
pub echarts_options: Option<Value>,
pub interactive: bool,
}Fields§
§chart_type: ChartType§series: Vec<ChartSeries>§title: Option<String>§x_label: Option<String>§y_label: Option<String>§width: Option<usize>§height: Option<usize>§echarts_options: Option<Value>Full ECharts option JSON override (injected by chart detection).
interactive: boolWhether this chart should be rendered interactively (default true).
Trait Implementations§
impl StructuralPartialEq for ChartSpec
Auto Trait Implementations§
impl Freeze for ChartSpec
impl RefUnwindSafe for ChartSpec
impl Send for ChartSpec
impl Sync for ChartSpec
impl Unpin for ChartSpec
impl UnsafeUnpin for ChartSpec
impl UnwindSafe for ChartSpec
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