Enum CurveStyle
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
CurveStyle
Wyliczenie stylów krzywych na wykresie.
Aby wywołać enum, wywołaj jego klasę nadrzędną, nazwę i właściwość. Na przykład:
Charts.CurveStyle.NORMAL
.
Właściwości
Właściwość | Typ | Opis |
NORMAL | Enum | Linie proste bez krzywizn. |
SMOOTH | Enum | Kąty linii są wygładzone. |
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\u003eCurveStyle\u003c/code\u003e is used to define the appearance of lines in charts.\u003c/p\u003e\n"],["\u003cp\u003eIt offers two options: \u003ccode\u003eNORMAL\u003c/code\u003e for straight lines and \u003ccode\u003eSMOOTH\u003c/code\u003e for curved lines.\u003c/p\u003e\n"],["\u003cp\u003eTo use it, call it with \u003ccode\u003eCharts.CurveStyle\u003c/code\u003e followed by the desired property, like \u003ccode\u003eCharts.CurveStyle.SMOOTH\u003c/code\u003e.\u003c/p\u003e\n"]]],["`CurveStyle` is an enumeration defining curve styles in a chart. It contains two properties: `NORMAL`, which renders straight lines, and `SMOOTH`, which smooths the angles of lines. To use these styles, reference them via `Charts.CurveStyle.PROPERTY_NAME`, for example, `Charts.CurveStyle.NORMAL`. The properties are accessed as enums.\n"],null,["# Enum CurveStyle\n\nCurveStyle\n\nAn enumeration of the styles for curves in a chart.\n\nTo call an enum, you call its parent class, name, and property. For example, `\nCharts.CurveStyle.NORMAL`. \n\n### Properties\n\n| Property | Type | Description |\n|----------|--------|--------------------------------------|\n| `NORMAL` | `Enum` | Straight lines without curve. |\n| `SMOOTH` | `Enum` | The angles of the line are smoothed. |"]]