Enum CurveStyle
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
曲线样式
图表中曲线的样式枚举。
如需调用枚举,您可以调用其父类、名称和属性。例如
Charts.CurveStyle.NORMAL
。
属性
属性 | 类型 | 说明 |
NORMAL | Enum | 不含曲线的直线。 |
SMOOTH | Enum | 线条的角度会被平滑处理。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):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. |"]]