ChartCollection
ChartCollection
Přehled
ChartCollection je třída v Aspose.Cells FOSS pro TypeScript.
Tato třída deklaruje 11 metod pro objekty ChartCollection v programech TypeScript. Dostupné metody zahrnují: add, addWithDataRange, addWithOffset, clear, constructor, get, getByName, getChartInfos, removeAt, setWorksheet, toArray. Veřejné členy jsou přístupné jakékoli aplikaci TypeScript po instalaci balíčku Aspose.Cells FOSS pro TypeScript. Vlastnosti: count, length.
Vlastnosti
| Název: | Typ: | Přístup | Popis: |
|---|---|---|---|
length | number | Čtení | Vrací délku. |
count | number | Čtení | Vrací počet. |
Metody
| Podpis: | Popis: |
|---|---|
constructor(sheetIndex: number, worksheet: Worksheet) | Volá konstruktor(sheetIndex, worksheet) na této instanci ChartCollection. |
setWorksheet(worksheet: Worksheet) | Nastavuje hodnotu listu. |
get(index: number) → `Chart | undefined` |
getByName(name: string) → `Chart | undefined` |
add(type: ChartType, topRow: number, leftColumn: number, bottomRow: number, rightColumn: number) → number | Volá add(type, topRow, leftColumn, bottomRow, rightColumn) na této instanci ChartCollection. |
addWithDataRange(type: ChartType, dataRange: string, isVertical: boolean, topRow: number, leftColumn: number, rightRow: number, bottomColumn: number) → number | Volá addWithDataRange(type, dataRange, isVertical, topRow, leftColumn, rightRow, bottomColumn) na této instanci ChartCollection. |
addWithOffset(type: ChartType, topRow: number, top: number, leftColumn: number, left: number, height: number, width: number) → number | Volá addWithOffset(type, topRow, top, leftColumn, left, height, width) na této ChartCollection instanci. |
removeAt(index: number) | Volá removeAt(index) na této ChartCollection instanci. |
clear() | Volá clear na této instanci ChartCollection. |
toArray() → Chart[] | Volá toArray na této instanci ChartCollection. |
getChartInfos() → Chart[] | Vrací informace o grafu. |