Enum AutoFillSeries
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Automatycznewypełnianieserii
Wyliczenie typów serii używanych do obliczania wartości autouzupełnianych. Sposób, w jaki te serie wpływają na wartości obliczone, różni się w zależności od typu i ilości danych źródłowych.
Aby wywołać enum, wywołaj jego klasę nadrzędną, nazwę i właściwość. Na przykład:
SpreadsheetApp.AutoFillSeries.DEFAULT_SERIES
.
Właściwości
Właściwość | Typ | Opis |
DEFAULT_SERIES | Enum | Domyślny: Automatyczne wypełnianie przy użyciu tego ustawienia powoduje, że puste komórki w rozwiniętym zakresie są wypełniane przyrostami istniejących wartości. |
ALTERNATE_SERIES | Enum | Automatyczne wypełnianie przy użyciu tego ustawienia powoduje wypełnienie pustych komórek w rozwiniętym zakresie kopiami dotychczasowych wartości. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eAutoFillSeries\u003c/code\u003e is used to determine how values are automatically filled in Google Sheets.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two options: \u003ccode\u003eDEFAULT_SERIES\u003c/code\u003e which fills cells with incremental values based on existing data, and \u003ccode\u003eALTERNATE_SERIES\u003c/code\u003e which copies existing values to fill the range.\u003c/p\u003e\n"],["\u003cp\u003eTo use \u003ccode\u003eAutoFillSeries\u003c/code\u003e, call its parent class, name, and property, such as \u003ccode\u003eSpreadsheetApp.AutoFillSeries.DEFAULT_SERIES\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Enum AutoFillSeries\n\nAutoFillSeries\n\nAn enumeration of the types of series used to calculate auto-filled values. The manner in which\nthese series affect calculated values differs depending on the type and amount of source data.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nSpreadsheetApp.AutoFillSeries.DEFAULT_SERIES`. \n\n### Properties\n\n| Property | Type | Description |\n|--------------------|--------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| `DEFAULT_SERIES` | `Enum` | Default. Auto-filling with this setting results in the empty cells in the expanded range being filled with increments of the existing values. |\n| `ALTERNATE_SERIES` | `Enum` | Auto-filling with this setting results in the empty cells in the expanded range being filled with copies of the existing values. |"]]