pub struct ChartSeriesInput {Show 13 fields
pub values: String,
pub categories: Option<String>,
pub name: Option<String>,
pub color: Option<String>,
pub data_labels: Option<bool>,
pub trendline: Option<String>,
pub marker: Option<String>,
pub secondary_axis: Option<bool>,
pub line_width: Option<f64>,
pub dash_style: Option<String>,
pub gradient: Option<Vec<GradientStopInput>>,
pub bubble_sizes: Option<String>,
pub error_bars: Option<ErrorBarInput>,
}Expand description
A single chart series definition
Fields§
§values: StringData range for values (e.g. “Sheet1!$B$2:$B$10”)
categories: Option<String>Data range for categories/labels
name: Option<String>Series name
color: Option<String>Hex color for the series
data_labels: Option<bool>Show data labels on this series
trendline: Option<String>Trendline type: linear, exponential, polynomial, power, logarithmic, moving_average
marker: Option<String>Marker type: circle, diamond, square, triangle, none
secondary_axis: Option<bool>Use secondary Y axis
line_width: Option<f64>Line width in points
dash_style: Option<String>Dash style: “solid”, “dash”, “dot”, “dash_dot”, “long_dash”, “long_dash_dot”
gradient: Option<Vec<GradientStopInput>>Gradient stops: array of {color, position}
bubble_sizes: Option<String>Bubble sizes range (for bubble charts)
error_bars: Option<ErrorBarInput>Error bar configuration
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChartSeriesInput
impl<'de> Deserialize<'de> for ChartSeriesInput
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
Source§impl JsonSchema for ChartSeriesInput
impl JsonSchema for ChartSeriesInput
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ChartSeriesInput
impl RefUnwindSafe for ChartSeriesInput
impl Send for ChartSeriesInput
impl Sync for ChartSeriesInput
impl Unpin for ChartSeriesInput
impl UnsafeUnpin for ChartSeriesInput
impl UnwindSafe for ChartSeriesInput
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