pub struct SparklineConfig {
pub data_range: String,
pub location: String,
pub sparkline_type: SparklineType,
pub markers: bool,
pub high_point: bool,
pub low_point: bool,
pub first_point: bool,
pub last_point: bool,
pub negative_points: bool,
pub show_axis: bool,
pub line_weight: Option<f64>,
pub style: Option<u32>,
}Expand description
Configuration for creating a sparkline group.
Fields§
§data_range: StringData source range (e.g., “Sheet1!A1:A10”).
location: StringCell where the sparkline is rendered (e.g., “B1”).
sparkline_type: SparklineTypeSparkline type.
markers: boolShow data markers.
high_point: boolHighlight high point.
low_point: boolHighlight low point.
first_point: boolHighlight first point.
last_point: boolHighlight last point.
negative_points: boolHighlight negative values.
show_axis: boolShow horizontal axis.
line_weight: Option<f64>Line weight in points (for line sparklines).
style: Option<u32>Style preset index (0-35).
Implementations§
Trait Implementations§
Source§impl Clone for SparklineConfig
impl Clone for SparklineConfig
Source§fn clone(&self) -> SparklineConfig
fn clone(&self) -> SparklineConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SparklineConfig
impl RefUnwindSafe for SparklineConfig
impl Send for SparklineConfig
impl Sync for SparklineConfig
impl Unpin for SparklineConfig
impl UnwindSafe for SparklineConfig
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