Chart
Overview
Chart is a struct in Aspose.Cells FOSS for Rust.
Represents a chart embedded in a worksheet.
This struct provides 18 methods for working with Chart objects in Rust programs.
Available methods include: chart_type, data_range, delete, get_chart_type, get_data_range, get_extent_cx, get_extent_cy, get_lower_right_column, get_lower_right_row, get_name, get_upper_left_column, get_upper_left_row, and 6 additional methods.
All public members are accessible to any Rust application after installing the Aspose.Cells FOSS for Rust package.
Methods
| Signature | Description |
|---|---|
name() → &str | Gets the chart display name. |
get_name() → &str | Gets the chart display name. |
set_name(value: impl Into<String>) | Sets the chart display name. |
chart_type() → ChartType | Gets the chart type. |
get_chart_type() → ChartType | Gets the chart type. |
data_range() → &str | Gets the chart data range formula. |
get_data_range() → &str | Gets the chart data range formula. |
upper_left_row() → i32 | Gets the zero-based upper-left row of the chart anchor. |
get_upper_left_row() → i32 | Gets the zero-based upper-left row of the chart anchor. |
upper_left_column() → i32 | Gets the zero-based upper-left column of the chart anchor. |
get_upper_left_column() → i32 | Gets the zero-based upper-left column of the chart anchor. |
lower_right_row() → i32 | Gets the zero-based lower-right row of the chart anchor. |
get_lower_right_row() → i32 | Gets the zero-based lower-right row of the chart anchor. |
lower_right_column() → i32 | Gets the zero-based lower-right column of the chart anchor. |
get_lower_right_column() → i32 | Gets the zero-based lower-right column of the chart anchor. |
get_extent_cx() → i64 | Gets the width extent in EMU. |
get_extent_cy() → i64 | Gets the height extent in EMU. |
delete() | Deletes the chart from its owning worksheet. |