ChartCollection

ChartCollection

Przegląd

ChartCollection jest klasą w Aspose.Cells FOSS dla TypeScript.

Ta klasa deklaruje 11 metod dla obiektów ChartCollection w programach TypeScript. Dostępne metody to: add, addWithDataRange, addWithOffset, clear, constructor, get, getByName, getChartInfos, removeAt, setWorksheet, toArray. Członkowie publiczni są dostępni dla każdej aplikacji TypeScript po zainstalowaniu pakietu Aspose.Cells FOSS dla TypeScript. Właściwości: count, length.

Właściwości

NazwaTypDostępOpis
lengthnumberOdczytPobiera długość.
countnumberOdczytPobiera liczbę.

Metody

SygnaturaOpis
constructor(sheetIndex: number, worksheet: Worksheet)Wywołuje konstruktor(sheetIndex, worksheet) na tej instancji ChartCollection.
setWorksheet(worksheet: Worksheet)Ustawia wartość arkusza.
get(index: number) → `Chartundefined`
getByName(name: string) → `Chartundefined`
add(type: ChartType, topRow: number, leftColumn: number, bottomRow: number, rightColumn: number) → numberWywołuje add(type, topRow, leftColumn, bottomRow, rightColumn) na tej instancji ChartCollection.
addWithDataRange(type: ChartType, dataRange: string, isVertical: boolean, topRow: number, leftColumn: number, rightRow: number, bottomColumn: number) → numberWywołuje addWithDataRange(type, dataRange, isVertical, topRow, leftColumn, rightRow, bottomColumn) na tej instancji ChartCollection.
addWithOffset(type: ChartType, topRow: number, top: number, leftColumn: number, left: number, height: number, width: number) → numberWywołuje addWithOffset(type, topRow, top, leftColumn, left, height, width) na tej instancji ChartCollection.
removeAt(index: number)Wywołuje removeAt(index) na tej instancji ChartCollection.
clear()Wywołuje clear na tej instancji ChartCollection.
toArray() → Chart[]Wywołuje toArray na tej instancji ChartCollection.
getChartInfos() → Chart[]Zwraca informacje o wykresie.

Zobacz także

 Polski