ChartType

Enum ChartType 

Source
pub enum ChartType {
Show 57 variants Col, ColStacked, ColPercentStacked, Bar, BarStacked, BarPercentStacked, Line, Pie, Area, AreaStacked, AreaPercentStacked, Area3D, Area3DStacked, Area3DPercentStacked, Col3D, Col3DStacked, Col3DPercentStacked, Bar3D, Bar3DStacked, Bar3DPercentStacked, LineStacked, LinePercentStacked, Line3D, Pie3D, Doughnut, Scatter, ScatterLine, ScatterSmooth, Radar, RadarFilled, RadarMarker, StockHLC, StockOHLC, StockVHLC, StockVOHLC, Bubble, Surface, Surface3D, SurfaceWireframe, SurfaceWireframe3D, ColLine, ColLineStacked, ColLinePercentStacked, PieOfPie, BarOfPie, Col3DCone, Col3DConeStacked, Col3DConePercentStacked, Col3DPyramid, Col3DPyramidStacked, Col3DPyramidPercentStacked, Col3DCylinder, Col3DCylinderStacked, Col3DCylinderPercentStacked, Contour, WireframeContour, Bubble3D,
}
Expand description

The chart type to render.

Variants§

§

Col

Vertical bar chart (column).

§

ColStacked

Vertical bar chart, stacked.

§

ColPercentStacked

Vertical bar chart, percent stacked.

§

Bar

Horizontal bar chart.

§

BarStacked

Horizontal bar chart, stacked.

§

BarPercentStacked

Horizontal bar chart, percent stacked.

§

Line

Line chart.

§

Pie

Pie chart.

§

Area

Area chart.

§

AreaStacked

Area chart, stacked.

§

AreaPercentStacked

Area chart, percent stacked.

§

Area3D

3D area chart.

§

Area3DStacked

3D area chart, stacked.

§

Area3DPercentStacked

3D area chart, percent stacked.

§

Col3D

3D column chart.

§

Col3DStacked

3D column chart, stacked.

§

Col3DPercentStacked

3D column chart, percent stacked.

§

Bar3D

3D horizontal bar chart.

§

Bar3DStacked

3D horizontal bar chart, stacked.

§

Bar3DPercentStacked

3D horizontal bar chart, percent stacked.

§

LineStacked

Line chart, stacked.

§

LinePercentStacked

Line chart, percent stacked.

§

Line3D

3D line chart.

§

Pie3D

3D pie chart.

§

Doughnut

Doughnut chart.

§

Scatter

Scatter chart (markers only).

§

ScatterLine

Scatter chart with straight lines.

§

ScatterSmooth

Scatter chart with smooth lines.

§

Radar

Radar chart (standard).

§

RadarFilled

Radar chart with filled area.

§

RadarMarker

Radar chart with markers.

§

StockHLC

Stock chart: High-Low-Close.

§

StockOHLC

Stock chart: Open-High-Low-Close.

§

StockVHLC

Stock chart: Volume-High-Low-Close.

§

StockVOHLC

Stock chart: Volume-Open-High-Low-Close.

§

Bubble

Bubble chart.

§

Surface

Surface chart.

§

Surface3D

3D surface chart.

§

SurfaceWireframe

Wireframe surface chart.

§

SurfaceWireframe3D

Wireframe 3D surface chart.

§

ColLine

Combo chart: column + line.

§

ColLineStacked

Combo chart: column stacked + line.

§

ColLinePercentStacked

Combo chart: column percent stacked + line.

§

PieOfPie

Pie-of-pie chart.

§

BarOfPie

Bar-of-pie chart.

§

Col3DCone

3D cone column chart.

§

Col3DConeStacked

3D cone column chart, stacked.

§

Col3DConePercentStacked

3D cone column chart, percent stacked.

§

Col3DPyramid

3D pyramid column chart.

§

Col3DPyramidStacked

3D pyramid column chart, stacked.

§

Col3DPyramidPercentStacked

3D pyramid column chart, percent stacked.

§

Col3DCylinder

3D cylinder column chart.

§

Col3DCylinderStacked

3D cylinder column chart, stacked.

§

Col3DCylinderPercentStacked

3D cylinder column chart, percent stacked.

§

Contour

Contour chart (surface chart as 2D projection).

§

WireframeContour

Wireframe contour chart.

§

Bubble3D

3D bubble chart.

Trait Implementations§

Source§

impl Clone for ChartType

Source§

fn clone(&self) -> ChartType

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for ChartType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for ChartType

Source§

fn eq(&self, other: &ChartType) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for ChartType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.