pub struct Chart {
pub kind: ChartKind,
pub title: String,
pub argument: Option<String>,
pub series: Vec<ChartSeries>,
pub sorted: bool,
pub hide_legend: bool,
pub format: Option<String>,
pub data_member: Option<String>,
}Expand description
A chart.
Fields§
§kind: ChartKindThe kind of chart.
title: StringA title above it.
argument: Option<String>What each point is about, such as [Region]. Rows with the same value add
up into one point; without it, every row is a point.
series: Vec<ChartSeries>The numbers to show.
sorted: boolOrders the points by their argument, as numbers when they all are.
hide_legend: boolLeaves the legend out.
format: Option<String>How numbers are shown, such as N0 or C2.
data_member: Option<String>An array field of the current row to chart, instead of the rows in scope.
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