pub struct ChartEnhancements {Show 14 fields
pub show_data_table: Option<bool>,
pub view_3d: Option<View3DInput>,
pub style: Option<u8>,
pub alt_text: Option<AltTextInput>,
pub y_axis_min: Option<f64>,
pub y_axis_max: Option<f64>,
pub y_axis_log_base: Option<f64>,
pub x_axis_reverse: Option<bool>,
pub y_axis_reverse: Option<bool>,
pub x_axis_format: Option<String>,
pub y_axis_format: Option<String>,
pub drop_lines: Option<bool>,
pub high_low_lines: Option<bool>,
pub plot_area_fill: Option<String>,
}Expand description
Chart enhancement options (extend existing add_chart)
Fields§
§show_data_table: Option<bool>Show data table below chart
view_3d: Option<View3DInput>3D perspective rotation
style: Option<u8>Preset chart style number (1-48)
alt_text: Option<AltTextInput>Accessibility alt text (title, description)
y_axis_min: Option<f64>Y-axis minimum value
y_axis_max: Option<f64>Y-axis maximum value
y_axis_log_base: Option<f64>Y-axis logarithmic base (e.g. 10)
x_axis_reverse: Option<bool>Reverse X axis
y_axis_reverse: Option<bool>Reverse Y axis
x_axis_format: Option<String>X-axis number format
y_axis_format: Option<String>Y-axis number format
drop_lines: Option<bool>Show drop lines
high_low_lines: Option<bool>Show high-low lines
plot_area_fill: Option<String>Plot area background fill color (hex)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChartEnhancements
impl<'de> Deserialize<'de> for ChartEnhancements
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 ChartEnhancements
impl JsonSchema for ChartEnhancements
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 ChartEnhancements
impl RefUnwindSafe for ChartEnhancements
impl Send for ChartEnhancements
impl Sync for ChartEnhancements
impl Unpin for ChartEnhancements
impl UnsafeUnpin for ChartEnhancements
impl UnwindSafe for ChartEnhancements
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