pub struct Chart {Show 20 fields
pub kind: ChartType,
pub title: Option<String>,
pub categories: Vec<String>,
pub series: Vec<Series>,
pub legend: Option<String>,
pub data_labels: bool,
pub gridlines: bool,
pub axis_titles: (Option<String>, Option<String>),
pub style: u32,
pub palette: String,
pub plot_fill: Option<Fill>,
pub chart_fill: Option<Fill>,
pub text_color: Option<ColorRef>,
pub hole_size: f64,
pub gap_width: f64,
pub overlap: f64,
pub vary_colors: bool,
pub y_min: Option<f64>,
pub y_max: Option<f64>,
pub raw: Option<String>,
}Fields§
§kind: ChartType§title: Option<String>§categories: Vec<String>§series: Vec<Series>§legend: Option<String>§data_labels: bool§gridlines: bool§axis_titles: (Option<String>, Option<String>)§style: u32Chart style number (1–48) and colour palette (colorful1, monochrome3…).
palette: String§plot_fill: Option<Fill>§chart_fill: Option<Fill>§text_color: Option<ColorRef>§hole_size: f64§gap_width: f64§overlap: f64§vary_colors: bool§y_min: Option<f64>§y_max: Option<f64>§raw: Option<String>Original chart XML part kept for round-trip of unmodelled options.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Chart
impl<'de> Deserialize<'de> for Chart
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Chart
Auto Trait Implementations§
impl Freeze for Chart
impl RefUnwindSafe for Chart
impl Send for Chart
impl Sync for Chart
impl Unpin for Chart
impl UnsafeUnpin for Chart
impl UnwindSafe for Chart
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