Enum CurveStyle
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
CurveStyle
列舉圖表中曲線的樣式。
如要呼叫列舉,請呼叫其父項類別、名稱和屬性。例如
Charts.CurveStyle.NORMAL
。
屬性
屬性 | 類型 | 說明 |
NORMAL | Enum | 沒有曲線的直線。 |
SMOOTH | Enum | 線條的角度會經過平滑處理。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\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. |"]]