pub struct ChartSeriesEnhanced {
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>,
}Expand description
Enhanced chart series with additional options
Fields§
§values: String§categories: Option<String>§name: Option<String>§color: Option<String>§data_labels: Option<bool>§trendline: Option<String>§marker: Option<String>§secondary_axis: Option<bool>§line_width: Option<f64>Line width in points
dash_style: Option<String>Dash style: “solid”, “dash”, “dot”, “dash_dot”
gradient: Option<Vec<GradientStopInput>>Gradient stops: array of [color_hex, position_0_to_1]
bubble_sizes: Option<String>Bubble sizes range (for bubble charts)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChartSeriesEnhanced
impl<'de> Deserialize<'de> for ChartSeriesEnhanced
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 ChartSeriesEnhanced
impl JsonSchema for ChartSeriesEnhanced
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 ChartSeriesEnhanced
impl RefUnwindSafe for ChartSeriesEnhanced
impl Send for ChartSeriesEnhanced
impl Sync for ChartSeriesEnhanced
impl Unpin for ChartSeriesEnhanced
impl UnsafeUnpin for ChartSeriesEnhanced
impl UnwindSafe for ChartSeriesEnhanced
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