SparklineGroupCollection
Overview
SparklineGroupCollection is a struct in Aspose.Cells FOSS for Rust.
Represents a collection of sparkline groups on a worksheet.
This struct provides 6 methods for working with SparklineGroupCollection objects in Rust programs.
Available methods include: add, count, get, get_count, item, remove_at.
All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package.
Methods
| Signature | Description |
|---|---|
count() → usize | Gets the number of sparkline groups on the worksheet. |
get_count() → usize | Gets the number of sparkline groups on the worksheet. |
add(sparkline_type: SparklineType, data_range: impl Into<String>, location_range: impl Into<String>) → Result<i32, CellsError> | Adds a new sparkline group to the worksheet. |
get(index: usize) → Option<SparklineGroup<'_>> | Gets the sparkline group at the specified zero-based index. |
item(index: usize) → Option<SparklineGroup<'_>> | Gets the sparkline group at the specified zero-based index. |
remove_at(index: usize) → Result<(), CellsError> | Removes the sparkline group at the specified zero-based index. |