ChartCollection

ChartCollection

개요

ChartCollection은 Aspose.Cells Rust용 FOSS에 포함된 구조체입니다.

워크시트에 있는 차트 컬렉션을 나타냅니다.

이 구조체는 Rust 프로그램에서 ChartCollection 객체를 위한 6개의 메서드를 선언합니다. 사용 가능한 메서드에는 add, count, get, get_count, item, remove_at가 포함됩니다. 공개 멤버는 Aspose.Cells Rust용 FOSS 패키지를 설치한 후 모든 Rust 애플리케이션에서 접근할 수 있습니다.

메서드

시그니처설명
count() → usize워크시트에 있는 차트 수를 가져옵니다.
get_count() → i32워크시트에 있는 차트 수를 가져옵니다.
add(chart_type: ChartType, data_range: String, upper_left_row: i32, upper_left_column: i32, lower_right_row: i32, lower_right_column: i32) → Result<i32, CellsError>지정된 유형의 새 차트를 워크시트에 추가합니다.
get(index: usize) → Option<Chart<'_>>지정된 0부터 시작하는 인덱스에 있는 차트를 가져옵니다.
item(index: usize) → Option<Chart<'_>>지정된 0부터 시작하는 인덱스에 있는 차트를 가져옵니다.
remove_at(index: usize) → Result<(), CellsError>지정된 0 기반 인덱스에 있는 차트를 제거합니다.

참조

 한국어