Enum CurveStyle
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
CurveStyle
Liệt kê các kiểu cho các đường cong trong biểu đồ.
Để gọi một enum, bạn gọi lớp mẹ, tên và thuộc tính của enum đó. Ví dụ:
Charts.CurveStyle.NORMAL
.
Thuộc tính
Thuộc tính | Loại | Mô tả |
NORMAL | Enum | Đường thẳng không có đường cong. |
SMOOTH | Enum | Các góc của đường được làm mượt. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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. |"]]