pub enum ChartType {
Show 21 variants
Bar,
BarHorizontal,
BarStacked,
BarStacked100,
Line,
LineMarkers,
LineStacked,
Pie,
Doughnut,
Area,
AreaStacked,
AreaStacked100,
Scatter,
ScatterLines,
ScatterSmooth,
Bubble,
Radar,
RadarFilled,
StockHLC,
StockOHLC,
Combo,
}Expand description
Chart types supported
Variants§
Bar
Vertical bar chart
BarHorizontal
Horizontal bar chart
BarStacked
Stacked bar chart
BarStacked100
100% stacked bar chart
Line
Line chart
LineMarkers
Line chart with markers
LineStacked
Stacked line chart
Pie
Pie chart
Doughnut
Doughnut chart
Area
Area chart
AreaStacked
Stacked area chart
AreaStacked100
100% stacked area chart
Scatter
Scatter chart (XY)
ScatterLines
Scatter with lines
ScatterSmooth
Scatter with smooth lines
Bubble
Bubble chart
Radar
Radar chart
RadarFilled
Filled radar chart
StockHLC
Stock chart (High-Low-Close)
StockOHLC
Stock chart (Open-High-Low-Close)
Combo
Combo chart (bar + line)
Implementations§
Source§impl ChartType
impl ChartType
Sourcepub fn xml_element(&self) -> &str
pub fn xml_element(&self) -> &str
Get OOXML chart element name
Sourcepub fn bar_direction(&self) -> Option<&str>
pub fn bar_direction(&self) -> Option<&str>
Get bar direction for bar charts
Sourcepub fn has_markers(&self) -> bool
pub fn has_markers(&self) -> bool
Check if chart type uses markers
Sourcepub fn scatter_style(&self) -> Option<&str>
pub fn scatter_style(&self) -> Option<&str>
Get scatter style for scatter charts
Sourcepub fn radar_style(&self) -> Option<&str>
pub fn radar_style(&self) -> Option<&str>
Get radar style for radar charts
Trait Implementations§
impl Copy for ChartType
impl Eq for ChartType
impl StructuralPartialEq for ChartType
Auto Trait Implementations§
impl Freeze for ChartType
impl RefUnwindSafe for ChartType
impl Send for ChartType
impl Sync for ChartType
impl Unpin for ChartType
impl UnsafeUnpin for ChartType
impl UnwindSafe for ChartType
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