pub enum Plot {
Bar {
direction: BarDirection,
grouping: BarGrouping,
gap_width: u16,
overlap: i8,
series: Vec<Series>,
data_labels: Option<CT_DLbls>,
axis_ids: [AxisId; 2],
},
Line {
grouping: Grouping,
marker: bool,
smooth: bool,
series: Vec<Series>,
data_labels: Option<CT_DLbls>,
axis_ids: [AxisId; 2],
},
Pie {
first_slice_angle: u16,
series: Vec<Series>,
data_labels: Option<CT_DLbls>,
},
Doughnut {
first_slice_angle: u16,
hole_size: u8,
series: Vec<Series>,
data_labels: Option<CT_DLbls>,
},
Area {
grouping: Grouping,
series: Vec<Series>,
data_labels: Option<CT_DLbls>,
axis_ids: [AxisId; 2],
},
Scatter {
style: ScatterStyle,
series: Vec<Series>,
data_labels: Option<CT_DLbls>,
axis_ids: [AxisId; 2],
},
Radar {
style: RadarStyle,
series: Vec<Series>,
data_labels: Option<CT_DLbls>,
axis_ids: [AxisId; 2],
},
}Expand description
A supported two-dimensional plot owned by one plot area.
Variants§
Implementations§
Source§impl Plot
impl Plot
pub fn bar( direction: BarDirection, grouping: BarGrouping, series: Vec<Series>, axis_ids: [AxisId; 2], ) -> Result<Self>
pub fn line( grouping: Grouping, series: Vec<Series>, axis_ids: [AxisId; 2], ) -> Result<Self>
pub fn pie(series: Vec<Series>) -> Result<Self>
pub fn doughnut(series: Vec<Series>) -> Result<Self>
pub fn area( grouping: Grouping, series: Vec<Series>, axis_ids: [AxisId; 2], ) -> Result<Self>
pub fn scatter( style: ScatterStyle, series: Vec<Series>, axis_ids: [AxisId; 2], ) -> Result<Self>
pub fn radar( style: RadarStyle, series: Vec<Series>, axis_ids: [AxisId; 2], ) -> Result<Self>
Trait Implementations§
impl StructuralPartialEq for Plot
Auto Trait Implementations§
impl Freeze for Plot
impl RefUnwindSafe for Plot
impl Send for Plot
impl Sync for Plot
impl Unpin for Plot
impl UnsafeUnpin for Plot
impl UnwindSafe for Plot
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